{ "operations": { "CreateAlias": "

Creates a display name for a customer master key. An alias can be used to identify a key and should be unique. The console enforces a one-to-one mapping between the alias and a key. An alias name can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-). An alias must start with the word \"alias\" followed by a forward slash (alias/). An alias that begins with \"aws\" after the forward slash (alias/aws...) is reserved by Amazon Web Services (AWS).

", "CreateGrant": "

Adds a grant to a key to specify who can access the key and under what conditions. Grants are alternate permission mechanisms to key policies. If absent, access to the key is evaluated based on IAM policies attached to the user. By default, grants do not expire. Grants can be listed, retired, or revoked as indicated by the following APIs. Typically, when you are finished using a grant, you retire it. When you want to end a grant immediately, revoke it. For more information about grants, see Grants.

  1. ListGrants
  2. RetireGrant
  3. RevokeGrant

", "CreateKey": "

Creates a customer master key. Customer master keys can be used to encrypt small amounts of data (less than 4K) directly, but they are most commonly used to encrypt or envelope data keys that are then used to encrypt customer data. For more information about data keys, see GenerateDataKey and GenerateDataKeyWithoutPlaintext.

", "Decrypt": "

Decrypts ciphertext. Ciphertext is plaintext that has been previously encrypted by using the Encrypt function.

", "DeleteAlias": "

Deletes the specified alias.

", "DescribeKey": "

Provides detailed information about the specified customer master key.

", "DisableKey": "

Marks a key as disabled, thereby preventing its use.

", "DisableKeyRotation": "Disables rotation of the specified key.", "EnableKey": "Marks a key as enabled, thereby permitting its use. You can have up to 25 enabled keys at one time.", "EnableKeyRotation": "Enables rotation of the specified customer master key.", "Encrypt": "

Encrypts plaintext into ciphertext by using a customer master key.

", "GenerateDataKey": "

Generates a secure data key. Data keys are used to encrypt and decrypt data. They are wrapped by customer master keys.

", "GenerateDataKeyWithoutPlaintext": "

Returns a key wrapped by a customer master key without the plaintext copy of that key. To retrieve the plaintext, see GenerateDataKey.

", "GenerateRandom": "

Generates an unpredictable byte string.

", "GetKeyPolicy": "

Retrieves a policy attached to the specified key.

", "GetKeyRotationStatus": "Retrieves a Boolean value that indicates whether key rotation is enabled for the specified key.", "ListAliases": "

Lists all of the key aliases in the account.

", "ListGrants": "

List the grants for a specified key.

", "ListKeyPolicies": "

Retrieves a list of policies attached to a key.

", "ListKeys": "

Lists the customer master keys.

", "PutKeyPolicy": "

Attaches a policy to the specified key.

", "ReEncrypt": "

Encrypts data on the server side with a new customer master key without exposing the plaintext of the data on the client side. The data is first decrypted and then encrypted. This operation can also be used to change the encryption context of a ciphertext.

", "RetireGrant": "Retires a grant. You can retire a grant when you're done using it to clean up. You should revoke a grant when you intend to actively deny operations that depend on it.", "RevokeGrant": "Revokes a grant. You can revoke a grant to actively deny operations that depend on it.", "UpdateKeyDescription": "

Updates the description of a key.

" }, "service": "AWS Key Management Service

AWS Key Management Service (KMS) is an encryption and key management web service. This guide describes the KMS actions that you can call programmatically. For general information about KMS, see (need an address here). For the KMS developer guide, see (need address here).

AWS provides SDKs that consist of libraries and sample code for various programming languages and platforms (Java, Ruby, .Net, iOS, Android, etc.). The SDKs provide a convenient way to create programmatic access to KMS and AWS. For example, the SDKs take care of tasks such as signing requests (see below), managing errors, and retrying requests automatically. For more information about the AWS SDKs, including how to download and install them, see Tools for Amazon Web Services.

We recommend that you use the AWS SDKs to make programmatic API calls to KMS. However, you can also use the KMS Query API to make to make direct calls to the KMS web service.

Signing Requests

Requests must be signed by using an access key ID and a secret access key. We strongly recommend that you do not use your AWS account access key ID and secret key for everyday work with KMS. Instead, use the access key ID and secret access key for an IAM user, or you can use the AWS Security Token Service to generate temporary security credentials that you can use to sign requests.

All KMS operations require Signature Version 4.

Recording API Requests

KMS supports AWS CloudTrail, a service that records AWS API calls and related events for your AWS account and delivers them to an Amazon S3 bucket that you specify. By using the information collected by CloudTrail, you can determine what requests were made to KMS, who made the request, when it was made, and so on. To learn more about CloudTrail, including how to turn it on and find your log files, see the AWS CloudTrail User Guide

Additional Resources

For more information about credentials and request signing, see the following:

", "shapes": { "AWSAccountIdType": { "base": null, "refs": { "KeyMetadata$AWSAccountId": "

Account ID number.

" } }, "AliasList": { "base": null, "refs": { "ListAliasesResponse$Aliases": "

A list of key aliases in the user's account.

" } }, "AliasListEntry": { "base": "Contains information about an alias.", "refs": { "AliasList$member": null } }, "AliasNameType": { "base": null, "refs": { "AliasListEntry$AliasName": "

String that contains the alias.

", "CreateAliasRequest$AliasName": "

String that contains the display name. Aliases that begin with AWS are reserved.

", "DeleteAliasRequest$AliasName": "

The alias to be deleted.

" } }, "AlreadyExistsException": { "base": "

The request was rejected because it attempted to create a resource that already exists.

", "refs": { } }, "ArnType": { "base": null, "refs": { "AliasListEntry$AliasArn": "

String that contains the key ARN.

", "KeyListEntry$KeyArn": "

ARN of the key.

", "KeyMetadata$Arn": "

Key ARN (Amazon Resource Name).

" } }, "BooleanType": { "base": null, "refs": { "GetKeyRotationStatusResponse$KeyRotationEnabled": "A Boolean value that specifies whether key rotation is enabled.", "KeyMetadata$Enabled": "

Value that specifies whether the key is enabled.

", "ListAliasesResponse$Truncated": "

A flag that indicates whether there are more items in the list. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more aliases in the list.

", "ListGrantsResponse$Truncated": "

A flag that indicates whether there are more items in the list. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more grants in the list.

", "ListKeyPoliciesResponse$Truncated": "

A flag that indicates whether there are more items in the list. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more policies in the list.

", "ListKeysResponse$Truncated": "

A flag that indicates whether there are more items in the list. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more keys in the list.

" } }, "CiphertextType": { "base": null, "refs": { "DecryptRequest$CiphertextBlob": "

Ciphertext including metadata.

", "EncryptResponse$CiphertextBlob": "

The encrypted plaintext.

", "GenerateDataKeyResponse$CiphertextBlob": "

Ciphertext that contains the wrapped key. You must store the blob and encryption context so that the ciphertext can be decrypted. You must provide both the ciphertext blob and the encryption context.

", "GenerateDataKeyWithoutPlaintextResponse$CiphertextBlob": "

Ciphertext that contains the wrapped key. You must store the blob and encryption context so that the key can be used in a future operation.

", "ReEncryptRequest$CiphertextBlob": "

Ciphertext of the data to re-encrypt.

", "ReEncryptResponse$CiphertextBlob": "

The re-encrypted data.

" } }, "CreateAliasRequest": { "base": null, "refs": { } }, "CreateGrantRequest": { "base": null, "refs": { } }, "CreateGrantResponse": { "base": null, "refs": { } }, "CreateKeyRequest": { "base": null, "refs": { } }, "CreateKeyResponse": { "base": null, "refs": { } }, "DataKeySpec": { "base": null, "refs": { "GenerateDataKeyRequest$KeySpec": "

Value that identifies the encryption algorithm and key size to generate a data key for. Currently this can be AES_128 or AES_256.

", "GenerateDataKeyWithoutPlaintextRequest$KeySpec": "

Value that identifies the encryption algorithm and key size. Currently this can be AES_128 or AES_256.

" } }, "DateType": { "base": null, "refs": { "KeyMetadata$CreationDate": "

Date the key was created.

" } }, "DecryptRequest": { "base": null, "refs": { } }, "DecryptResponse": { "base": null, "refs": { } }, "DeleteAliasRequest": { "base": null, "refs": { } }, "DependencyTimeoutException": { "base": "

The system timed out while trying to fulfill the request.

", "refs": { } }, "DescribeKeyRequest": { "base": null, "refs": { } }, "DescribeKeyResponse": { "base": null, "refs": { } }, "DescriptionType": { "base": null, "refs": { "CreateKeyRequest$Description": "

Description of the key. We recommend that you choose a description that helps your customer decide whether the key is appropriate for a task.

", "KeyMetadata$Description": "

The description of the key.

", "UpdateKeyDescriptionRequest$Description": "

New description for the key.

" } }, "DisableKeyRequest": { "base": null, "refs": { } }, "DisableKeyRotationRequest": { "base": null, "refs": { } }, "DisabledException": { "base": "

A request was rejected because the specified key was marked as disabled.

", "refs": { } }, "EnableKeyRequest": { "base": null, "refs": { } }, "EnableKeyRotationRequest": { "base": null, "refs": { } }, "EncryptRequest": { "base": null, "refs": { } }, "EncryptResponse": { "base": null, "refs": { } }, "EncryptionContextKey": { "base": null, "refs": { "EncryptionContextType$key": null } }, "EncryptionContextType": { "base": null, "refs": { "DecryptRequest$EncryptionContext": "

The encryption context. If this was specified in the Encrypt function, it must be specified here or the decryption operation will fail. For more information, see Encryption Context.

", "EncryptRequest$EncryptionContext": "

Name:value pair that specifies the encryption context to be used for authenticated encryption. For more information, see Authenticated Encryption.

", "GenerateDataKeyRequest$EncryptionContext": "

Name/value pair that contains additional data to be authenticated during the encryption and decryption processes that use the key. This value is logged by AWS CloudTrail to provide context around the data encrypted by the key.

", "GenerateDataKeyWithoutPlaintextRequest$EncryptionContext": "

Name:value pair that contains additional data to be authenticated during the encryption and decryption processes.

", "GrantConstraints$EncryptionContextSubset": "The constraint equals the full encryption context.", "GrantConstraints$EncryptionContextEquals": "The constraint contains additional key/value pairs that serve to further limit the grant.", "ReEncryptRequest$SourceEncryptionContext": "

Encryption context used to encrypt and decrypt the data specified in the CiphertextBlob parameter.

", "ReEncryptRequest$DestinationEncryptionContext": "

Encryption context to be used when the data is re-encrypted.

" } }, "EncryptionContextValue": { "base": null, "refs": { "EncryptionContextType$value": null } }, "ErrorMessageType": { "base": null, "refs": { "AlreadyExistsException$message": null, "DependencyTimeoutException$message": null, "DisabledException$message": null, "InvalidAliasNameException$message": null, "InvalidArnException$message": null, "InvalidCiphertextException$message": null, "InvalidGrantTokenException$message": null, "InvalidKeyUsageException$message": null, "InvalidMarkerException$message": null, "KMSInternalException$message": null, "KeyUnavailableException$message": null, "LimitExceededException$message": null, "MalformedPolicyDocumentException$message": null, "NotFoundException$message": null, "UnsupportedOperationException$message": null } }, "GenerateDataKeyRequest": { "base": null, "refs": { } }, "GenerateDataKeyResponse": { "base": null, "refs": { } }, "GenerateDataKeyWithoutPlaintextRequest": { "base": null, "refs": { } }, "GenerateDataKeyWithoutPlaintextResponse": { "base": null, "refs": { } }, "GenerateRandomRequest": { "base": null, "refs": { } }, "GenerateRandomResponse": { "base": null, "refs": { } }, "GetKeyPolicyRequest": { "base": null, "refs": { } }, "GetKeyPolicyResponse": { "base": null, "refs": { } }, "GetKeyRotationStatusRequest": { "base": null, "refs": { } }, "GetKeyRotationStatusResponse": { "base": null, "refs": { } }, "GrantConstraints": { "base": "Contains constraints on the grant.", "refs": { "CreateGrantRequest$Constraints": "

Specifies the conditions under which the actions specified by the Operations parameter are allowed.

", "GrantListEntry$Constraints": "

Specifies the conditions under which the actions specified by the Operations parameter are allowed.

" } }, "GrantIdType": { "base": null, "refs": { "CreateGrantResponse$GrantId": "

Unique grant identifier. You can use the GrantId value to revoke a grant.

", "GrantListEntry$GrantId": "

Unique grant identifier.

", "RevokeGrantRequest$GrantId": "

Identifier of the grant to be revoked.

" } }, "GrantList": { "base": null, "refs": { "ListGrantsResponse$Grants": "

A list of grants.

" } }, "GrantListEntry": { "base": "

Contains information about each entry in the grant list.

", "refs": { "GrantList$member": null } }, "GrantOperation": { "base": null, "refs": { "GrantOperationList$member": null } }, "GrantOperationList": { "base": null, "refs": { "CreateGrantRequest$Operations": "

List of operations permitted by the grant. This can be any combination of one or more of the following values:

  1. Decrypt
  2. Encrypt
  3. GenerateDataKey
  4. GenerateDataKeyWithoutPlaintext
  5. ReEncryptFrom
  6. ReEncryptTo
  7. CreateGrant

", "GrantListEntry$Operations": "

List of operations permitted by the grant. This can be any combination of one or more of the following values:

  1. Decrypt
  2. Encrypt
  3. GenerateDataKey
  4. GenerateDataKeyWithoutPlaintext
  5. ReEncryptFrom
  6. ReEncryptTo
  7. CreateGrant

" } }, "GrantTokenList": { "base": null, "refs": { "CreateGrantRequest$GrantTokens": "

List of grant tokens.

", "DecryptRequest$GrantTokens": "

A list of grant tokens that represent grants which can be used to provide long term permissions to perform decryption.

", "EncryptRequest$GrantTokens": "

A list of grant tokens that represent grants which can be used to provide long term permissions to perform encryption.

", "GenerateDataKeyRequest$GrantTokens": "

A list of grant tokens that represent grants which can be used to provide long term permissions to generate a key.

", "GenerateDataKeyWithoutPlaintextRequest$GrantTokens": "

A list of grant tokens that represent grants which can be used to provide long term permissions to generate a key.

", "ReEncryptRequest$GrantTokens": "

Grant tokens that identify the grants that have permissions for the encryption and decryption process.

" } }, "GrantTokenType": { "base": null, "refs": { "CreateGrantResponse$GrantToken": "

The grant token. A grant token is a string that identifies a grant and which can be used to make a grant take effect immediately. A token contains all of the information necessary to create a grant.

", "GrantTokenList$member": null, "RetireGrantRequest$GrantToken": "

Token that identifies the grant to be retired.

" } }, "InvalidAliasNameException": { "base": "

The request was rejected because the specified alias name is not valid.

", "refs": { } }, "InvalidArnException": { "base": "

The request was rejected because a specified ARN was not valid.

", "refs": { } }, "InvalidCiphertextException": { "base": "

The request was rejected because the specified ciphertext has been corrupted or is otherwise invalid.

", "refs": { } }, "InvalidGrantTokenException": { "base": "

A grant token provided as part of the request is invalid.

", "refs": { } }, "InvalidKeyUsageException": { "base": "

The request was rejected because the specified KeySpec parameter is not valid. The currently supported value is ENCRYPT/DECRYPT.

", "refs": { } }, "InvalidMarkerException": { "base": "

The request was rejected because the marker that specifies where pagination should next begin is not valid.

", "refs": { } }, "KMSInternalException": { "base": "The request was rejected because an internal exception occurred. This error can be retried.", "refs": { } }, "KeyIdType": { "base": null, "refs": { "AliasListEntry$TargetKeyId": "

String that contains the key identifier pointed to by the alias.

", "CreateAliasRequest$TargetKeyId": "

An identifier of the key for which you are creating the alias. This value cannot be another alias.

", "CreateGrantRequest$KeyId": "

A unique key identifier for a customer master key. This value can be a globally unique identifier, an ARN, or an alias.

", "DecryptResponse$KeyId": "

Unique identifier created by the system for the key. This value is always returned as long as no errors are encountered during the operation.

", "DescribeKeyRequest$KeyId": "

Unique identifier of the customer master key to be described. This can be an ARN, an alias, or a globally unique identifier.

", "DisableKeyRequest$KeyId": "

Unique identifier of the customer master key to be disabled. This can be an ARN, an alias, or a globally unique identifier.

", "DisableKeyRotationRequest$KeyId": "

Unique identifier of the customer master key for which rotation is to be disabled. This can be an ARN, an alias, or a globally unique identifier.

", "EnableKeyRequest$KeyId": "

Unique identifier of the customer master key to be enabled. This can be an ARN, an alias, or a globally unique identifier.

", "EnableKeyRotationRequest$KeyId": "

Unique identifier of the customer master key for which rotation is to be enabled. This can be an ARN, an alias, or a globally unique identifier.

", "EncryptRequest$KeyId": "

Unique identifier of the customer master. This can be an ARN, an alias, or the Key ID.

", "EncryptResponse$KeyId": "

The ID of the key used during encryption.

", "GenerateDataKeyRequest$KeyId": "

Unique identifier of the key. This can be an ARN, an alias, or a globally unique identifier.

", "GenerateDataKeyResponse$KeyId": "

System generated unique identifier for the key.

", "GenerateDataKeyWithoutPlaintextRequest$KeyId": "

Unique identifier of the key. This can be an ARN, an alias, or a globally unique identifier.

", "GenerateDataKeyWithoutPlaintextResponse$KeyId": "

System generated unique identifier for the key.

", "GetKeyPolicyRequest$KeyId": "

Unique identifier of the key. This can be an ARN, an alias, or a globally unique identifier.

", "GetKeyRotationStatusRequest$KeyId": "

Unique identifier of the key. This can be an ARN, an alias, or a globally unique identifier.

", "KeyListEntry$KeyId": "

Unique identifier of the key.

", "KeyMetadata$KeyId": "

Unique identifier for the key.

", "ListGrantsRequest$KeyId": "

Unique identifier of the key. This can be an ARN, an alias, or a globally unique identifier.

", "ListKeyPoliciesRequest$KeyId": "

Unique identifier of the key. This can be an ARN, an alias, or a globally unique identifier.

", "PutKeyPolicyRequest$KeyId": "

Unique identifier of the key. This can be an ARN, an alias, or a globally unique identifier.

", "ReEncryptRequest$DestinationKeyId": "

Key identifier of the key used to re-encrypt the data.

", "ReEncryptResponse$SourceKeyId": "

Unique identifier of the key used to originally encrypt the data.

", "ReEncryptResponse$KeyId": "

Unique identifier of the key used to re-encrypt the data.

", "RevokeGrantRequest$KeyId": "

Unique identifier of the key associated with the grant.

", "UpdateKeyDescriptionRequest$KeyId": "

Unique value that identifies the key for which the description is to be changed.

" } }, "KeyList": { "base": null, "refs": { "ListKeysResponse$Keys": "

A list of keys.

" } }, "KeyListEntry": { "base": "

Contains information about each entry in the key list.

", "refs": { "KeyList$member": null } }, "KeyMetadata": { "base": "Contains metadata associated with a specific key.", "refs": { "CreateKeyResponse$KeyMetadata": "

Metadata associated with the key.

", "DescribeKeyResponse$KeyMetadata": "

Metadata associated with the key.

" } }, "KeyUnavailableException": { "base": "

The request was rejected because the key was disabled, not found, or otherwise not available.

", "refs": { } }, "KeyUsageType": { "base": null, "refs": { "CreateKeyRequest$KeyUsage": "

Specifies the intended use of the key. Currently this defaults to ENCRYPT/DECRYPT, and only symmetric encryption and decryption are supported.

", "KeyMetadata$KeyUsage": "

A value that specifies what operation(s) the key can perform.

" } }, "LimitExceededException": { "base": "

The request was rejected because a quota was exceeded.

", "refs": { } }, "LimitType": { "base": null, "refs": { "ListAliasesRequest$Limit": "

Specify this parameter when paginating results to indicate the maximum number of aliases you want in each response. If there are additional aliases beyond the maximum you specify, the Truncated response element will be set to true.

", "ListGrantsRequest$Limit": "

Specify this parameter only when paginating results to indicate the maximum number of grants you want listed in the response. If there are additional grants beyond the maximum you specify, the Truncated response element will be set to true.

", "ListKeyPoliciesRequest$Limit": "

Specify this parameter only when paginating results to indicate the maximum number of policies you want listed in the response. If there are additional policies beyond the maximum you specify, the Truncated response element will be set to true.

", "ListKeysRequest$Limit": "

Specify this parameter only when paginating results to indicate the maximum number of keys you want listed in the response. If there are additional keys beyond the maximum you specify, the Truncated response element will be set to true.

" } }, "ListAliasesRequest": { "base": null, "refs": { } }, "ListAliasesResponse": { "base": null, "refs": { } }, "ListGrantsRequest": { "base": null, "refs": { } }, "ListGrantsResponse": { "base": null, "refs": { } }, "ListKeyPoliciesRequest": { "base": null, "refs": { } }, "ListKeyPoliciesResponse": { "base": null, "refs": { } }, "ListKeysRequest": { "base": null, "refs": { } }, "ListKeysResponse": { "base": null, "refs": { } }, "MalformedPolicyDocumentException": { "base": "

The request was rejected because the specified policy is not syntactically or semantically correct.

", "refs": { } }, "MarkerType": { "base": null, "refs": { "ListAliasesRequest$Marker": "

Use this parameter when paginating results, and only in a subsequent request after you've received a response where the results are truncated. Set it to the value of the NextMarker element in the response you just received.

", "ListAliasesResponse$NextMarker": "

If Truncated is true, this value is present and contains the value to use for the Marker request parameter in a subsequent pagination request.

", "ListGrantsRequest$Marker": "

Use this parameter only when paginating results, and only in a subsequent request after you've received a response where the results are truncated. Set it to the value of the NextMarker in the response you just received.

", "ListGrantsResponse$NextMarker": "

If Truncated is true, this value is present and contains the value to use for the Marker request parameter in a subsequent pagination request.

", "ListKeyPoliciesRequest$Marker": "

Use this parameter only when paginating results, and only in a subsequent request after you've received a response where the results are truncated. Set it to the value of the NextMarker in the response you just received.

", "ListKeyPoliciesResponse$NextMarker": "

If Truncated is true, this value is present and contains the value to use for the Marker request parameter in a subsequent pagination request.

", "ListKeysRequest$Marker": "

Use this parameter only when paginating results, and only in a subsequent request after you've received a response where the results are truncated. Set it to the value of the NextMarker in the response you just received.

", "ListKeysResponse$NextMarker": "

If Truncated is true, this value is present and contains the value to use for the Marker request parameter in a subsequent pagination request.

" } }, "NotFoundException": { "base": "

The request was rejected because the specified entity or resource could not be found.

", "refs": { } }, "NumberOfBytesType": { "base": null, "refs": { "GenerateDataKeyRequest$NumberOfBytes": "

Integer that contains the number of bytes to generate. Common values are 128, 256, 512, 1024 and so on. 1024 is the current limit.

", "GenerateDataKeyWithoutPlaintextRequest$NumberOfBytes": "

Integer that contains the number of bytes to generate. Common values are 128, 256, 512, 1024 and so on.

", "GenerateRandomRequest$NumberOfBytes": "

Integer that contains the number of bytes to generate. Common values are 128, 256, 512, 1024 and so on. The current limit is 1024 bytes.

" } }, "PlaintextType": { "base": null, "refs": { "DecryptResponse$Plaintext": "

Decrypted plaintext data. This value may not be returned if the customer master key is not available or if you didn't have permission to use it.

", "EncryptRequest$Plaintext": "

Data to be encrypted.

", "GenerateDataKeyResponse$Plaintext": "

Plaintext that contains the unwrapped key. Use this for encryption and decryption and then remove it from memory as soon as possible.

", "GenerateRandomResponse$Plaintext": "

Plaintext that contains the unpredictable byte string.

" } }, "PolicyNameList": { "base": null, "refs": { "ListKeyPoliciesResponse$PolicyNames": "

A list of policy names. Currently, there is only one policy and it is named \"Default\".

" } }, "PolicyNameType": { "base": null, "refs": { "GetKeyPolicyRequest$PolicyName": "

String that contains the name of the policy. Currently, this must be \"default\". Policy names can be discovered by calling ListKeyPolicies.

", "PolicyNameList$member": null, "PutKeyPolicyRequest$PolicyName": "

Name of the policy to be attached. Currently, the only supported name is \"default\".

" } }, "PolicyType": { "base": null, "refs": { "CreateKeyRequest$Policy": "

Policy to be attached to the key. This is required and delegates back to the account. The key is the root of trust.

", "GetKeyPolicyResponse$Policy": "

A policy document in JSON format.

", "PutKeyPolicyRequest$Policy": "

The policy, in JSON format, to be attached to the key.

" } }, "PrincipalIdType": { "base": null, "refs": { "CreateGrantRequest$GranteePrincipal": "

Principal given permission by the grant to use the key identified by the keyId parameter.

", "CreateGrantRequest$RetiringPrincipal": "

Principal given permission to retire the grant. For more information, see RetireGrant.

", "GrantListEntry$GranteePrincipal": "

The principal that receives the grant permission.

", "GrantListEntry$RetiringPrincipal": "

The principal that can retire the account.

", "GrantListEntry$IssuingAccount": "

The account under which the grant was issued.

" } }, "PutKeyPolicyRequest": { "base": null, "refs": { } }, "ReEncryptRequest": { "base": null, "refs": { } }, "ReEncryptResponse": { "base": null, "refs": { } }, "RetireGrantRequest": { "base": null, "refs": { } }, "RevokeGrantRequest": { "base": null, "refs": { } }, "UnsupportedOperationException": { "base": "

The request was rejected because a specified parameter is not supported.

", "refs": { } }, "UpdateKeyDescriptionRequest": { "base": null, "refs": { } } } }