Important
For new users, your registries are automatically configured to use the
V2
registry policy upon creation. There is no action for you to
take. Amazon ECR doesn't recommend reverting to the previous registry policy
V1
.
You can use the console or the CLI to view or change your registry policy scope.
Use the following steps to view your account settings. To view or update the registry policy scope, see the CLI procedure on this page.
Turn on the enhanced registry policy for your private registry
-
Open the Amazon ECR console at https://console.aws.amazon.com/ecr/private-registry/repositories
-
From the navigation bar, choose the Region.
-
In the navigation pane, choose Private registry, Feature & Settings, and then choose Permissions.
-
On the Permissions page, for Registry policy view your policy JSON. If you have the V1 policy, a banner displays with instructions to update to V2. Choose Enable.
A banner displays indicating that the registry policy scope has been updated to V2.
-
You can also optionally configure permissions with the CLI. For more information, see Private registry settings in Amazon ECR.
Note
To view or update the registry policy scope, see the CLI procedure on this page.