Skip to main content
Version: 2.1

TKMSImportKeyMaterialRequest

Class in AWS.KMS

ImportKeyMaterial request class.

Ancestors​

Properties​

EncryptedKeyMaterial​

property EncryptedKeyMaterial: TStream

ExpirationModel​

property ExpirationModel: string

ImportToken​

property ImportToken: TStream

KeyId​

property KeyId: string

ValidTo​

property ValidTo: TOptional<TDateTime>

Constructors​

Create​

constructor Create; overload;

Constructor for TKMSImportKeyMaterialRequest.


constructor Create(const AEncryptedKeyMaterial, AImportToken: TStream; const AKeyId: string); overload;

Constructor for TKMSImportKeyMaterialRequest.

Parameters

NameDescription
AEncryptedKeyMaterialSpecify the encrypted key material to import. Must be encrypted using the public key retrieved from a previous call to GetParametersForImport.
AImportTokenSpecify the import token retrieved from a previous call to GetParametersForImport.
AKeyIdSpecify the Amazon Resource Name (ARN) or ID of a symmetric encryption KMS key.

constructor Create(const AEncryptedKeyMaterial, AImportToken: TStream; const AKeyId: string; const AValidTo: TDateTime); overload;

Constructor for TKMSImportKeyMaterialRequest.

Parameters

NameDescription
AEncryptedKeyMaterialThe encrypted key material to import. Must be encrypted using the public key retrieved from a previous call to GetParametersForImport.
AImportTokenThe import token retrieved from a previous call to GetParametersForImport.
AKeyIdSpecify the Amazon Resource Name (ARN) or ID of a symmetric encryption KMS key.
AValidToSpecify the date and time when the imported key material expires.