Mods

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
{{ $.defaultKey }}
Default template input
|
{
defaultKey: policy(uri: "aws-kms#/policy/types/keyDefaultCustomerManagedKey")
}

Category

In Your Workspace

Developers