Class: Aws::DataSync::Types::CmkSecretConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::DataSync::Types::CmkSecretConfig
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-datasync/types.rb
Overview
Specifies configuration information for a DataSync-managed secret, such as an authentication token or secret key that DataSync uses to access a specific storage location, with a customer-managed KMS key.
<note markdown=“1”> You can use either ‘CmkSecretConfig` or `CustomSecretConfig` to provide credentials for a `CreateLocation` request. Do not provide both parameters for the same request.
</note>
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#kms_key_arn ⇒ String
Specifies the ARN for the customer-managed KMS key that DataSync uses to encrypt the DataSync-managed secret stored for ‘SecretArn`.
-
#secret_arn ⇒ String
Specifies the ARN for the DataSync-managed Secrets Manager secret that that is used to access a specific storage location.
Instance Attribute Details
#kms_key_arn ⇒ String
Specifies the ARN for the customer-managed KMS key that DataSync uses to encrypt the DataSync-managed secret stored for ‘SecretArn`. DataSync provides this key to Secrets Manager.
132 133 134 135 136 137 |
# File 'lib/aws-sdk-datasync/types.rb', line 132 class CmkSecretConfig < Struct.new( :secret_arn, :kms_key_arn) SENSITIVE = [] include Aws::Structure end |
#secret_arn ⇒ String
Specifies the ARN for the DataSync-managed Secrets Manager secret that that is used to access a specific storage location. This property is generated by DataSync and is read-only. DataSync encrypts this secret with the KMS key that you specify for ‘KmsKeyArn`.
132 133 134 135 136 137 |
# File 'lib/aws-sdk-datasync/types.rb', line 132 class CmkSecretConfig < Struct.new( :secret_arn, :kms_key_arn) SENSITIVE = [] include Aws::Structure end |