Defined in github.com/aws/aws-sdk-go/service/ecr/api.go
Retrieves a token that is valid for a specified registry for 12 hours. This command allows you to use the docker CLI to push and pull images with Amazon ECR. If you do not specify a registry, the default registry is assumed.
The authorizationToken returned for each registry specified is a base64 encoded string that can be decoded and used in a docker login command to authenticate to a registry. The AWS CLI offers an aws ecr get-login command that simplifies the login process.
GetAuthorizationToken is referenced in 7 repositoriesgithub.com/aws/aws-sdk-go
- 1 reference in service/ecr/examples_test.go
- 1 reference in pkg/credentials/ecr.go
- 1 reference in main.go