Skip to main content

IKMSGenerateDataKeyWithoutPlaintextRequest

Interface in AWS.KMS

Interface for GenerateDataKeyWithoutPlaintext requests.

Ancestors

Properties

EncryptionContext

property EncryptionContext: TDictionary<string, string>

Specify the encryption context that will be used when encrypting the data.

GrantTokens

property GrantTokens: TList<string>

Specify a list of grant tokens.

KeyId

property KeyId: string

Specify the Amazon Resource Name (ARN), ID, alias name, or alias ARN for a symmetric encryption key that encrypts data.

KeySpec

property KeySpec: string

Specify the length of the data key.

Valid values: AES_256 | AES_128. Must not be specified with NumberOfBytes. Use KeySpec or NumberOfBytes, not both.

NumberOfBytes

property NumberOfBytes: TOptional<Integer>

Specify the length of the data key in bytes.

Minimum value 1, maximum value 1024. Must not be specified with KeySpec. Use KeySpec or NumberOfBytes, not both.

Methods

AddEncryptionContext

procedure AddEncryptionContext(const AKey, AValue: string);

Add a key/value to EncryptionContext.

Parameters

NameDescription
AKeySpecify the context key.
AValueSpecify the context value.

AddGrantToken

function AddGrantToken(const AGrantToken: string): Integer;

Add a token to GrantTokens.

Parameters

NameDescription
AGrantTokenSpecify the grant token to add to GrantTokens.

Returns

Returns the index of the item added to GrantTokens.