Policy: AWS > ECR > Repository > Allowed > Encryption at Rest > Level > Customer Managed Key
Define the KMS key ID for encryption at rest.
This policy defines the specific customer managed key that should be used for resource encryption. It will be evaluated when the Encryption at Rest Level policy is set to "Encryption at Rest > Customer Managed Key".
Please make sure the key defined has required permissions for the resource.example: alias/aws/ebs ddc06e04-ce5f-4995-c758-c2b6c510e8fd arn:aws:kms:us-east-1:123456789012:key/ddc06e04-ce5f-4995-b758-c2b6c510e8fd arn:aws:kms:us-east-1:123456789012:alias/aws/ebs
Targets
This policy targets the following resource types:
Primary Policy
This policy is used with the following primary policy:
Controls
Setting this policy configures this control:
Policy Specification
Default template | |
|---|---|
Default template input | |
Category
In Your Workspace
Developers
- tmod:@turbot/turbot#/control/categories/resourceAllowed
- tmod:@turbot/aws-ecr#/policy/types/repositoryAllowedEncryptionAtRestCustomerManagedKey
- turbot graphql policy-type --id "tmod:@turbot/aws-ecr#/policy/types/repositoryAllowedEncryptionAtRestCustomerManagedKey"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/aws-ecr#/policy/types/repositoryAllowedEncryptionAtRestCustomerManagedKey"
Get Policy TypeGet Policy Settings
Category URI
Policy Type URI
GraphQL
CLI