v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-142314899.7 KB

Retrieves an authorization token. An authorization token represents your IAM authentication credentials. You can use it to access any Amazon ECR registry that your IAM principal has access to. The authorization token is valid for 12 hours. This API requires the <code>ecr-public:GetAuthorizationToken</code> and <code>sts:GetServiceBearerToken</code> permissions.

post/#X-Amz-Target=SpencerFrontendService.GetAuthorizationToken

Headers

X-Amz-Target'SpencerFrontendService.GetAuthorizationToken' required

Request body

GetAuthorizationTokenRequest required

Response

Success