String aliasName
Constraints:
Length: 1 - 256
Pattern: ^[a-zA-Z0-9:/_-]+$
String aliasArn
Constraints:
Length: 20 - 2048
String targetKeyId
Constraints:
Length: 1 - 256
String keyId
To specify this value, use the unique key ID or the Amazon Resource Name (ARN) of the CMK. Examples:
To obtain the unique key ID and key ARN for a given CMK, use ListKeys or DescribeKey.
Constraints:
Length: 1 - 256
String keyId
Constraints:
Length: 1 - 256
String aliasName
Constraints:
Length: 1 - 256
Pattern: ^[a-zA-Z0-9:/_-]+$
String targetKeyId
Constraints:
Length: 1 - 256
String keyId
To specify this value, use the globally unique key ID or the Amazon Resource Name (ARN) of the key. Examples:
Constraints:
Length: 1 - 256
String granteePrincipal
To specify the principal, use the Amazon Resource Name (ARN) of an AWS principal. Valid AWS principals include AWS accounts (root), IAM users, federated users, and assumed role users. For examples of the ARN syntax to use for specifying a principal, see AWS Identity and Access Management (IAM) in the Example ARNs section of the AWS General Reference.
Constraints:
Length: 1 - 256
String retiringPrincipal
To specify the principal, use the Amazon Resource Name (ARN) of an AWS principal. Valid AWS principals include AWS accounts (root), IAM users, federated users, and assumed role users. For examples of the ARN syntax to use for specifying a principal, see AWS Identity and Access Management (IAM) in the Example ARNs section of the AWS General Reference.
Constraints:
Length: 1 - 256
com.amazonaws.internal.ListWithAutoConstructFlag<T> operations
GrantConstraints constraints
You can use this value to allow the operations permitted by the grant only when a specified encryption context is present. For more information, see Encryption Context in the AWS Key Management Service Developer Guide.
com.amazonaws.internal.ListWithAutoConstructFlag<T> grantTokens
For more information, go to Grant Tokens in the AWS Key Management Service Developer Guide.
Constraints:
Length: 0 - 10
String name
When this value is absent, all CreateGrant requests
result in a new grant with a unique GrantId even if all
the supplied parameters are identical. This can result in unintended
duplicates when you retry the CreateGrant request.
When this value is present, you can retry a
CreateGrant request with identical parameters; if the
grant already exists, the original GrantId is returned
without creating a new grant. Note that the returned grant token is
unique with every CreateGrant request, even when a
duplicate GrantId is returned. All grant tokens obtained
in this way can be used interchangeably.
Constraints:
Length: 1 - 256
Pattern: ^[a-zA-Z0-9:/_-]+$
String grantToken
For more information about using grant tokens, see Grant Tokens in the AWS Key Management Service Developer Guide.
Constraints:
Length: 1 - 8192
String grantId
You can use the
GrantId in a subsequent RetireGrant or
RevokeGrant operation.
Constraints:
Length: 1 - 128
String policy
Constraints:
Length: 1 - 131072
Pattern: [\u0009\u000A\u000D\u0020-\u00FF]+
String description
Constraints:
Length: 0 - 8192
String keyUsage
Constraints:
Allowed Values: ENCRYPT_DECRYPT
KeyMetadata keyMetadata
ByteBuffer ciphertextBlob
Constraints:
Length: 1 - 6144
Map<K,V> encryptionContext
com.amazonaws.internal.ListWithAutoConstructFlag<T> grantTokens
For more information, go to Grant Tokens in the AWS Key Management Service Developer Guide.
Constraints:
Length: 0 - 10
String keyId
Constraints:
Length: 1 - 256
ByteBuffer plaintext
Constraints:
Length: 1 - 4096
String aliasName
Constraints:
Length: 1 - 256
Pattern: ^[a-zA-Z0-9:/_-]+$
String keyId
Constraints:
Length: 1 - 256
com.amazonaws.internal.ListWithAutoConstructFlag<T> grantTokens
For more information, go to Grant Tokens in the AWS Key Management Service Developer Guide.
Constraints:
Length: 0 - 10
KeyMetadata keyMetadata
String keyId
Constraints:
Length: 1 - 256
String keyId
Constraints:
Length: 1 - 256
String keyId
Constraints:
Length: 1 - 256
String keyId
Constraints:
Length: 1 - 256
String keyId
Constraints:
Length: 1 - 256
ByteBuffer plaintext
Constraints:
Length: 1 - 4096
Map<K,V> encryptionContext
Decrypt API or decryption will fail. For
more information, see Encryption
Context.com.amazonaws.internal.ListWithAutoConstructFlag<T> grantTokens
For more information, go to Grant Tokens in the AWS Key Management Service Developer Guide.
Constraints:
Length: 0 - 10
ByteBuffer ciphertextBlob
Constraints:
Length: 1 - 6144
String keyId
Constraints:
Length: 1 - 256
String keyId
Constraints:
Length: 1 - 256
Map<K,V> encryptionContext
Integer numberOfBytes
KeySpec parameter instead.
Constraints:
Range: 1 - 1024
String keySpec
Constraints:
Allowed Values: AES_256, AES_128
com.amazonaws.internal.ListWithAutoConstructFlag<T> grantTokens
For more information, go to Grant Tokens in the AWS Key Management Service Developer Guide.
Constraints:
Length: 0 - 10
ByteBuffer ciphertextBlob
If you are using the CLI, the value is Base64 encoded. Otherwise, it is not encoded.
Constraints:
Length: 1 - 6144
ByteBuffer plaintext
Constraints:
Length: 1 - 4096
String keyId
Constraints:
Length: 1 - 256
String keyId
Constraints:
Length: 1 - 256
Map<K,V> encryptionContext
String keySpec
Constraints:
Allowed Values: AES_256, AES_128
Integer numberOfBytes
KeySpec parameter instead.
Constraints:
Range: 1 - 1024
com.amazonaws.internal.ListWithAutoConstructFlag<T> grantTokens
For more information, go to Grant Tokens in the AWS Key Management Service Developer Guide.
Constraints:
Length: 0 - 10
ByteBuffer ciphertextBlob
If you are using the CLI, the value is Base64 encoded. Otherwise, it is not encoded.
Constraints:
Length: 1 - 6144
String keyId
Constraints:
Length: 1 - 256
Integer numberOfBytes
Constraints:
Range: 1 - 1024
ByteBuffer plaintext
Constraints:
Length: 1 - 4096
String keyId
Constraints:
Length: 1 - 256
String policyName
Constraints:
Length: 1 - 128
Pattern: [\w]+
String policy
Constraints:
Length: 1 - 131072
Pattern: [\u0009\u000A\u000D\u0020-\u00FF]+
String keyId
Constraints:
Length: 1 - 256
Boolean keyRotationEnabled
Map<K,V> encryptionContextSubset
Map<K,V> encryptionContextEquals
String keyId
Constraints:
Length: 1 - 256
String grantId
Constraints:
Length: 1 - 128
String name
Constraints:
Length: 1 - 256
Pattern: ^[a-zA-Z0-9:/_-]+$
Date creationDate
String granteePrincipal
Constraints:
Length: 1 - 256
String retiringPrincipal
Constraints:
Length: 1 - 256
String issuingAccount
Constraints:
Length: 1 - 256
com.amazonaws.internal.ListWithAutoConstructFlag<T> operations
GrantConstraints constraints
String aWSAccountId
String keyId
Constraints:
Length: 1 - 256
String arn
Constraints:
Length: 20 - 2048
Date creationDate
Boolean enabled
KeyState is
Enabled this value is true, otherwise it is false.String description
Constraints:
Length: 0 - 8192
String keyUsage
String keyState
For more information about how key state affects the use of a CMK, go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.
Constraints:
Allowed Values: Enabled, Disabled, PendingDeletion
Date deletionDate
KeyState is
PendingDeletion, otherwise this value is null.Integer limit
Truncated element in the response is set to
true.This value is optional. If you include a value, it must be between 1 and 100, inclusive. If you do not include a value, it defaults to 50.
Constraints:
Range: 1 - 1000
String marker
NextMarker from the
response you just received.
Constraints:
Length: 1 - 320
Pattern: [\u0020-\u00FF]*
com.amazonaws.internal.ListWithAutoConstructFlag<T> aliases
String nextMarker
Truncated is true, this value is present and
contains the value to use for the Marker parameter in a
subsequent pagination request.
Constraints:
Length: 1 - 320
Pattern: [\u0020-\u00FF]*
Boolean truncated
Marker
parameter to make a subsequent pagination request to retrieve more
items in the list.Integer limit
Truncated element in the response is set to
true.This value is optional. If you include a value, it must be between 1 and 100, inclusive. If you do not include a value, it defaults to 50.
Constraints:
Range: 1 - 1000
String marker
NextMarker from the
response you just received.
Constraints:
Length: 1 - 320
Pattern: [\u0020-\u00FF]*
String keyId
Constraints:
Length: 1 - 256
com.amazonaws.internal.ListWithAutoConstructFlag<T> grants
String nextMarker
Truncated is true, this value is present and
contains the value to use for the Marker parameter in a
subsequent pagination request.
Constraints:
Length: 1 - 320
Pattern: [\u0020-\u00FF]*
Boolean truncated
Marker
parameter to make a subsequent pagination request to retrieve more
items in the list.String keyId
Constraints:
Length: 1 - 256
Integer limit
Truncated element in the response is set to
true.This value is optional. If you include a value, it must be between 1 and 1000, inclusive. If you do not include a value, it defaults to 100.
Currently only 1 policy can be attached to a key.
Constraints:
Range: 1 - 1000
String marker
NextMarker from the
response you just received.
Constraints:
Length: 1 - 320
Pattern: [\u0020-\u00FF]*
com.amazonaws.internal.ListWithAutoConstructFlag<T> policyNames
String nextMarker
Truncated is true, this value is present and
contains the value to use for the Marker parameter in a
subsequent pagination request.
Constraints:
Length: 1 - 320
Pattern: [\u0020-\u00FF]*
Boolean truncated
Marker
parameter to make a subsequent pagination request to retrieve more
items in the list.Integer limit
Truncated element in the response is set to
true.This value is optional. If you include a value, it must be between 1 and 1000, inclusive. If you do not include a value, it defaults to 100.
Constraints:
Range: 1 - 1000
String marker
NextMarker from the
response you just received.
Constraints:
Length: 1 - 320
Pattern: [\u0020-\u00FF]*
com.amazonaws.internal.ListWithAutoConstructFlag<T> keys
String nextMarker
Truncated is true, this value is present and
contains the value to use for the Marker parameter in a
subsequent pagination request.
Constraints:
Length: 1 - 320
Pattern: [\u0020-\u00FF]*
Boolean truncated
Marker
parameter to make a subsequent pagination request to retrieve more
items in the list.Integer limit
Truncated element in the response is set to
true.This value is optional. If you include a value, it must be between 1 and 100, inclusive. If you do not include a value, it defaults to 50.
Constraints:
Range: 1 - 1000
String marker
NextMarker from the
response you just received.
Constraints:
Length: 1 - 320
Pattern: [\u0020-\u00FF]*
String retiringPrincipal
To specify the retiring principal, use the Amazon Resource Name (ARN) of an AWS principal. Valid AWS principals include AWS accounts (root), IAM users, federated users, and assumed role users. For examples of the ARN syntax for specifying a principal, go to AWS Identity and Access Management (IAM) in the Example ARNs section of the Amazon Web Services General Reference.
Constraints:
Length: 1 - 256
com.amazonaws.internal.ListWithAutoConstructFlag<T> grants
String nextMarker
Truncated is true, this value is present and
contains the value to use for the Marker parameter in a
subsequent pagination request.
Constraints:
Length: 1 - 320
Pattern: [\u0020-\u00FF]*
Boolean truncated
Marker
parameter to make a subsequent pagination request to retrieve more
items in the list.String keyId
Constraints:
Length: 1 - 256
String policyName
Constraints:
Length: 1 - 128
Pattern: [\w]+
String policy
Constraints:
Length: 1 - 131072
Pattern: [\u0009\u000A\u000D\u0020-\u00FF]+
ByteBuffer ciphertextBlob
Constraints:
Length: 1 - 6144
Map<K,V> sourceEncryptionContext
CiphertextBlob parameter.String destinationKeyId
Constraints:
Length: 1 - 256
Map<K,V> destinationEncryptionContext
com.amazonaws.internal.ListWithAutoConstructFlag<T> grantTokens
For more information, go to Grant Tokens in the AWS Key Management Service Developer Guide.
Constraints:
Length: 0 - 10
ByteBuffer ciphertextBlob
Constraints:
Length: 1 - 6144
String sourceKeyId
Constraints:
Length: 1 - 256
String keyId
Constraints:
Length: 1 - 256
String grantToken
Constraints:
Length: 1 - 8192
String keyId
Constraints:
Length: 1 - 256
String grantId
CreateGrant function.
Constraints:
Length: 1 - 128
String keyId
Constraints:
Length: 1 - 256
String grantId
Constraints:
Length: 1 - 128
String keyId
To specify this value, use the unique key ID or the Amazon Resource Name (ARN) of the CMK. Examples:
To obtain the unique key ID and key ARN for a given CMK, use ListKeys or DescribeKey.
Constraints:
Length: 1 - 256
Integer pendingWindowInDays
This value is optional. If you include a value, it must be between 7 and 30, inclusive. If you do not include a value, it defaults to 30.
Constraints:
Range: 1 - 365
String aliasName
Constraints:
Length: 1 - 256
Pattern: ^[a-zA-Z0-9:/_-]+$
String targetKeyId
You can call
ListAliases to verify that the alias is mapped to the correct
TargetKeyId.
Constraints:
Length: 1 - 256
String keyId
Constraints:
Length: 1 - 256
String description
Constraints:
Length: 0 - 8192
Copyright © 2015. All rights reserved.