Class: Aws::KMS::Types::UpdateKeyDescriptionRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

New description for the KMS key.

Do not include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.

Returns:

  • (String)


6173
6174
6175
6176
6177
6178
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb', line 6173

class UpdateKeyDescriptionRequest < Struct.new(
  :key_id,
  :description)
  SENSITIVE = []
  include Aws::Structure
end

#key_idString

Updates the description of the specified KMS key.

Specify the key ID or key ARN of the KMS key.

For example:

  • Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab

  • Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.

Returns:

  • (String)


6173
6174
6175
6176
6177
6178
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb', line 6173

class UpdateKeyDescriptionRequest < Struct.new(
  :key_id,
  :description)
  SENSITIVE = []
  include Aws::Structure
end