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, ..., KeyUsage => $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 key. For examples, see AWS Key
Management Service (AWS KMS) in the Example ARNs section of the I<AWS
General Reference>.
AWSAccountId => Str
The twelve-digit account ID of the AWS account that owns the key.
CreationDate => Str
The date and time when the key was created.
DeletionDate => Str
The date and time after which AWS KMS deletes the customer master key
(CMK). This value is present only when C<KeyState> is
C<PendingDeletion>, otherwise this value is null.
Description => Str
The friendly description of the key.
Enabled => Bool
Specifies whether the key is enabled. When C<KeyState> is C<Enabled>
this value is true, otherwise it is false.
REQUIRED KeyId => Str
The globally unique identifier for the key.
KeyState => Str
The state of the customer master key (CMK).
For more information about how key state affects the use of a CMK, go to How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide.
KeyUsage => Str
The cryptographic operations for which you can use the key. Currently
the only allowed value is C<ENCRYPT_DECRYPT>, which means you can use
the key for the Encrypt and Decrypt operations.
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