CmdID / aws / aws ecr-public
aws ecr-public get-repository-policy
Retrieves the repository policy for the specified repository. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--registry-idThe Amazon Web Services account ID that's associated with the public registry that contains the repository.--repository-nameThe name of the repository with the policy to retrieve.