Skip to main content

IKMSGenerateDataKeyPairRequest

Interface in AWS.KMS

Interface for GenerateDataKeyPair requests.

Ancestors

Properties

EncryptionContext

property EncryptionContext: TDictionary<string, string>

Specify the encryption context that will be used when encrypting the private key pair in the data key pair.

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 the private key in the data key pair.

KeyPairSpec

property KeyPairSpec: string

Specify the type of data key pair to be generated.

Valid values: RSA_2048 | RSA_3072 | RSA_4096 | ECC_NIST_P256 | ECC_NIST_P384 | ECC_NIST_P521 | ECC_SECG_P256K1 | SM2.

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.