Class: Aws::ECR::Types::EncryptionConfigurationForRepositoryCreationTemplate
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECR::Types::EncryptionConfigurationForRepositoryCreationTemplate
- Defined in:
- gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb
Overview
The encryption configuration to associate with the repository creation template.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#encryption_type ⇒ String
The encryption type to use.
-
#kms_key ⇒ String
If you use the
KMS
encryption type, specify the KMS key to use for encryption.
Instance Attribute Details
#encryption_type ⇒ String
The encryption type to use.
If you use the KMS
encryption type, the contents of the repository
will be encrypted using server-side encryption with Key Management
Service key stored in KMS. When you use KMS to encrypt your data,
you can either use the default Amazon Web Services managed KMS key
for Amazon ECR, or specify your own KMS key, which you already
created. For more information, see Protecting data using
server-side encryption with an KMS key stored in Key Management
Service (SSE-KMS) in the Amazon Simple Storage Service Console
Developer Guide.
If you use the AES256
encryption type, Amazon ECR uses server-side
encryption with Amazon S3-managed encryption keys which encrypts the
images in the repository using an AES256 encryption algorithm. For
more information, see Protecting data using server-side encryption
with Amazon S3-managed encryption keys (SSE-S3) in the Amazon
Simple Storage Service Console Developer Guide.
1507 1508 1509 1510 1511 1512 |
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 1507 class EncryptionConfigurationForRepositoryCreationTemplate < Struct.new( :encryption_type, :kms_key) SENSITIVE = [] include Aws::Structure end |
#kms_key ⇒ String
If you use the KMS
encryption type, specify the KMS key to use for
encryption. The full ARN of the KMS key must be specified. The key
must exist in the same Region as the repository. If no key is
specified, the default Amazon Web Services managed KMS key for
Amazon ECR will be used.
1507 1508 1509 1510 1511 1512 |
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 1507 class EncryptionConfigurationForRepositoryCreationTemplate < Struct.new( :encryption_type, :kms_key) SENSITIVE = [] include Aws::Structure end |