Deleting a private registry permission statement - Amazon ECR

Deleting a private registry permission statement

You can delete all permissions policy statements for your registry by using the following steps.

To delete a permissions policy for a private registry (AWS Management Console)

  1. Open the Amazon ECR console at https://console.aws.amazon.com/ecr/.

  2. From the navigation bar, choose the Region to configure your registry permissions policy in.

  3. In the navigation pane, choose Registries.

  4. On the Registries page, select your Private registry and choose Permissions.

  5. On the Private registry permissions page, choose Delete.

  6. On the Delete registry policy confirmation screen, choose Delete policy.

To delete a permissions policy for a private registry (AWS CLI)

  1. Delete the registry policy.

    aws ecr delete-registry-policy \ --region us-west-2
  2. Retrieve the policy for your registry to confirm.

    aws ecr get-registry-policy \ --region us-west-2