CmdID / az / az acr / az acr token
az acr token create
Create a token associated with a scope map for an Azure Container Registry. Azure CLI reference
6 options Its page in the Azure CLI reference
Options
--expiration-in-daysNumber of days for which the credentials will be valid.--expirationUTC time for which the credentials will be valid.--gatewaygateway permissions.--no-passwordsDo not generate passwords during token creation.--repositoryrepository permissions.--scope-mapThe name of the scope map with pre-configured repository permissions.