Class: Aws::KMS::Types::GetKeyPolicyResponse

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

#policy ⇒ String

A key policy document in JSON format.

Returns:

  • (String)


3815
3816
3817
3818
3819
3820
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb', line 3815

class GetKeyPolicyResponse < Struct.new(
  :policy,
  :policy_name)
  SENSITIVE = []
  include Aws::Structure
end

#policy_name ⇒ String

The name of the key policy. Valid values are:

default

The key policy that you manage.

AWS_RAM

The key policy that RAM manages for KMS keys that you share through RAM.

Returns:

  • (String)


3815
3816
3817
3818
3819
3820
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb', line 3815

class GetKeyPolicyResponse < Struct.new(
  :policy,
  :policy_name)
  SENSITIVE = []
  include Aws::Structure
end