Difference between revisions of "Aws ecr get-repository-policy"
Jump to navigation
Jump to search
(Created page with " {{aws ecr}}") |
|||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{lowercase}} | ||
+ | https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ecr/get-repository-policy.html | ||
+ | [[aws ecr]] get-repository-policy --repository-name | ||
+ | |||
+ | aws ecr get-repository-policy --repository-name YourRepoName | ||
+ | |||
+ | An error occurred ([[RepositoryPolicyNotFoundException]]) when calling the GetRepositoryPolicy operation: Repository policy does not exist for the repository with name 'YourRepoName' in the registry with id '123456' | ||
− | {{aws ecr}} | + | for i in $(aws ecr describe-repositories --output text | awk '{print $6}' | grep .); do [[aws ecr]] get-repository-policy --repository-name $i; done |
+ | |||
+ | |||
+ | == Related == | ||
+ | * <code>[[aws ecr describe-repositories]]</code> | ||
+ | |||
+ | == See also == | ||
+ | * {{aws ecr}} | ||
+ | |||
+ | [[Category:AWS]] |
Latest revision as of 12:55, 6 December 2021
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ecr/get-repository-policy.html
aws ecr get-repository-policy --repository-name
aws ecr get-repository-policy --repository-name YourRepoName An error occurred (RepositoryPolicyNotFoundException) when calling the GetRepositoryPolicy operation: Repository policy does not exist for the repository with name 'YourRepoName' in the registry with id '123456'
for i in $(aws ecr describe-repositories --output text | awk '{print $6}' | grep .); do aws ecr get-repository-policy --repository-name $i; done
Related[edit]
See also[edit]
Advertising: