403Webshell
Server IP : 138.197.107.151  /  Your IP : 216.73.217.7
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux BloxBy-Builder 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64
User : wpbetasites_mrakzqskir ( 1022)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/bsd-crawler-parser/aws/dist/awscli/examples/ecr-public/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/bsd-crawler-parser/aws/dist/awscli/examples/ecr-public/delete-repository-policy.rst
**To delete a repository policy in a public registry**

The following ``delete-repository-policy`` example delete repository policy for the ECR Public repository in your AWS account. ::

    aws ecr-public delete-repository-policy \
         --repository-name project-a/nginx-web-app \
         --region us-east-1

Output::

    {
        "registryId": "123456789012",
        "repositoryName": "project-a/nginx-web-app",
        "policyText": "{\n  \"Version\" : \"2008-10-17\",\n  \"Statement\" : [ {\n    \"Sid\" : \"AllowPush\",\n    \"Effect\" : \"Allow\",\n    \"Principal\" : {\n      \"AWS\" : [ \"arn:aws:iam:"123456789012":user/eksuser1\", \"arn:aws:iam:"123456789012":user/admin\" ]\n    },\n    \"Action\" : [ \"ecr-public:BatchCheckLayerAvailability\", \"ecr-public:PutImage\", \"ecr-public:InitiateLayerUpload\", \"ecr-public:UploadLayerPart\", \"ecr-public:CompleteLayerUpload\" ]\n  } ]\n}"
    }

For more information, see `Deleting a public repository policy statement <https://docs.aws.amazon.com/AmazonECR/latest/public/delete-public-repository-policy.html>`__ in the *Amazon ECR Public User Guide*.

Youez - 2016 - github.com/yon3zu
LinuXploit