Class: Aws::CredentialBrokerControl::Types::ProviderEncryptionConfiguration

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

Overview

Note:

ProviderEncryptionConfiguration is a union - when making an API calls you must set exactly one of the members.

How a single credential provider's cached tokens are encrypted at rest. Set exactly one member. A provider either uses its own customer-managed KMS key or inherits whatever the parent pool uses; it cannot independently choose service-managed encryption.

Defined Under Namespace

Classes: CustomerManaged, InheritFromPool, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#customer_managed ⇒ Types::CustomerManagedEncryption

Encrypt this provider's cached tokens with a customer managed key of its own, instead of the key the parent pool uses. Supply it again with a different key to rotate.



2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
# File 'gems/aws-sdk-credentialbrokercontrol/lib/aws-sdk-credentialbrokercontrol/types.rb', line 2158

class ProviderEncryptionConfiguration < Struct.new(
  :customer_managed,
  :inherit_from_pool,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class CustomerManaged < ProviderEncryptionConfiguration; end
  class InheritFromPool < ProviderEncryptionConfiguration; end
  class Unknown < ProviderEncryptionConfiguration; end
end

#inherit_from_pool ⇒ Types::Unit

Inherit the parent pool's encryption configuration.

Returns:

  • (Types::Unit)


2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
# File 'gems/aws-sdk-credentialbrokercontrol/lib/aws-sdk-credentialbrokercontrol/types.rb', line 2158

class ProviderEncryptionConfiguration < Struct.new(
  :customer_managed,
  :inherit_from_pool,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class CustomerManaged < ProviderEncryptionConfiguration; end
  class InheritFromPool < ProviderEncryptionConfiguration; end
  class Unknown < ProviderEncryptionConfiguration; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



2158
2159
2160
# File 'gems/aws-sdk-credentialbrokercontrol/lib/aws-sdk-credentialbrokercontrol/types.rb', line 2158

def unknown
  @unknown
end