dcloud ecr auth login-token

Mint a short-lived docker login token

IAM ecr:GetAuthorizationTokenChanges state

Mints a 12-hour bearer credential for the whole org registry, so the IAM descriptor classifies GetAuthorizationToken as a write: the operation reports mutates: true and every issuance is audited. The answer carries the token id, which revokes it.

Synopsis

dcloud ecr auth login-token

Example

dcloud ecr auth login-token

Generated from the API description, the same one the API checks requests against and the CLI is built from.