NAME
Paws::KMS::KeyMetadata
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::KMS::KeyMetadata object:
$service_obj->Method(Att1 => { Arn => $value, ..., ValidTo => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::KMS::KeyMetadata object:
$result = $service_obj->Method(...);
$result->Att1->Arn
DESCRIPTION
Contains metadata about a customer master key (CMK).
This data type is used as a response element for the CreateKey and DescribeKey operations.
ATTRIBUTES
Arn => Str
The Amazon Resource Name (ARN) of the CMK. For examples, see AWS Key Management Service (AWS KMS) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kms) in the Example ARNs section of the AWS General Reference.
AWSAccountId => Str
The twelve-digit account ID of the AWS account that owns the CMK.
CloudHsmClusterId => Str
The cluster ID of the AWS CloudHSM cluster that contains the key material for the CMK. When you create a CMK in a custom key store (https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html), AWS KMS creates the key material for the CMK in the associated AWS CloudHSM cluster. This value is present only when the CMK is created in a custom key store.
CreationDate => Str
The date and time when the CMK was created.
CustomerMasterKeySpec => Str
Describes the type of key material in the CMK.
CustomKeyStoreId => Str
A unique identifier for the custom key store (https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html) that contains the CMK. This value is present only when the CMK is created in a custom key store.
DeletionDate => Str
The date and time after which AWS KMS deletes the CMK. This value is present only when KeyState is PendingDeletion.
Description => Str
The description of the CMK.
Enabled => Bool
Specifies whether the CMK is enabled. When KeyState is Enabled this value is true, otherwise it is false.
EncryptionAlgorithms => ArrayRef[Str|Undef]
A list of encryption algorithms that the CMK supports. You cannot use the CMK with other encryption algorithms within AWS KMS.
This field appears only when the KeyUsage of the CMK is ENCRYPT_DECRYPT.
ExpirationModel => Str
Specifies whether the CMK's key material expires. This value is present only when Origin is EXTERNAL, otherwise this value is omitted.
REQUIRED KeyId => Str
The globally unique identifier for the CMK.
KeyManager => Str
The manager of the CMK. CMKs in your AWS account are either customer managed or AWS managed. For more information about the difference, see Customer Master Keys (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#master_keys) in the AWS Key Management Service Developer Guide.
KeyState => Str
The state of the CMK.
For more information about how key state affects the use of a CMK, see How Key State Affects the Use of a Customer Master Key (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) in the AWS Key Management Service Developer Guide.
KeyUsage => Str
The cryptographic operations for which you can use the CMK.
Origin => Str
The source of the CMK's key material. 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. When this value is AWS_CLOUDHSM, the key material was created in the AWS CloudHSM cluster associated with a custom key store.
SigningAlgorithms => ArrayRef[Str|Undef]
A list of signing algorithms that the CMK supports. You cannot use the CMK with other signing algorithms within AWS KMS.
This field appears only when the KeyUsage of the CMK is SIGN_VERIFY.
ValidTo => Str
The time at which the imported key material expires. When the key material expires, AWS KMS deletes the key material and the CMK becomes unusable. This value is present only for CMKs whose Origin is EXTERNAL and whose ExpirationModel is KEY_MATERIAL_EXPIRES, otherwise this value is omitted.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::KMS
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues