GetKeyResult constructor
- String? arn,
- String? awsAccountId,
- String? cloudHsmClusterId,
- String? creationDate,
- String? customKeyStoreId,
- String? customerMasterKeySpec,
- String? deletionDate,
- String? description,
- bool? enabled,
- String? expirationModel,
- List<
String> ? grantTokens, - String? id,
- String? keyId,
- String? keyManager,
- String? keySpec,
- String? keyState,
- String? keyUsage,
- bool? multiRegion,
- List<
GetKeyMultiRegionConfiguration> ? multiRegionConfigurations, - String? origin,
- int? pendingDeletionWindowInDays,
- String? region,
- String? validTo,
- List<
GetKeyXksKeyConfiguration> ? xksKeyConfigurations,
Creates a new GetKeyResult.
arn The key ARN of a primary or replica key of a multi-Region key.
awsAccountId The twelve-digit account ID of the AWS account that owns the key
cloudHsmClusterId The cluster ID of the AWS CloudHSM cluster that contains the key material for the KMS key.
creationDate The date and time when the key was created
customKeyStoreId A unique identifier for the custom key store that contains the KMS key.
customerMasterKeySpec See keySpec.
deletionDate The date and time after which AWS KMS deletes the key. This value is present only when keyState is PendingDeletion, otherwise this value is 0
description The description of the key.
enabled Specifies whether the key is enabled. When keyState is Enabled this value is true, otherwise it is false
expirationModel Specifies whether the Key's key material expires. This value is present only when origin is EXTERNAL, otherwise this value is empty
grantTokens Optional.
id The provider-assigned unique ID for this managed resource.
keyId Optional.
keyManager The key's manager
keySpec Describes the type of key material in the KMS key.
keyState The state of the key
keyUsage Specifies the intended use of the key
multiRegion Indicates whether the KMS key is a multi-Region (true) or regional (false) key.
multiRegionConfigurations Lists the primary and replica keys in same multi-Region key. Present only when the value of multiRegion is true.
origin When this value is AWS_KMS, AWS KMS created the key material. When this value is EXTERNAL, the key material was imported from your existing key management infrastructure or the CMK lacks key material
pendingDeletionWindowInDays The waiting period before the primary key in a multi-Region key is deleted.
region The AWS Region of a primary or replica key in a multi-Region key.
validTo The time at which the imported key material expires. This value is present only when origin is EXTERNAL and whose expirationModel is KEY_MATERIAL_EXPIRES, otherwise this value is 0
xksKeyConfigurations Information about the external key that is associated with a KMS key in an external key store.
Implementation
const GetKeyResult({
this.arn,
this.awsAccountId,
this.cloudHsmClusterId,
this.creationDate,
this.customKeyStoreId,
this.customerMasterKeySpec,
this.deletionDate,
this.description,
this.enabled,
this.expirationModel,
this.grantTokens,
this.id,
this.keyId,
this.keyManager,
this.keySpec,
this.keyState,
this.keyUsage,
this.multiRegion,
this.multiRegionConfigurations,
this.origin,
this.pendingDeletionWindowInDays,
this.region,
this.validTo,
this.xksKeyConfigurations,
});