Current Directory:
/usr/local/aws-cli/v2/2.7.28/dist/awscli/examples/ecr-public
Upload
Create File
File Name
Size
Actions
get-login-password_description.rst
698 bytes
Edit
|
Delete
|
Rename
|
Download
**To log in to an Amazon ECR public registry** Retrieves and displays an authentication token using the GetAuthorizationToken API that you can use to authenticate to an Amazon ECR public registry. You can pass the authorization token to the login command of the container client of your preference, such as the Docker CLI. After you have authenticated to an Amazon ECR public registry with this command, you can use the client to push and pull images from that registry as long as your IAM principal has access to do so until the token expires. The authorization token is valid for 12 hours. This command requires the 'ecr-public:GetAuthorizationToken' and 'sts:GetServiceBearerToken' permissions.
Save Changes