CmdID / az / az acr / az acr token / az acr token credential
az acr token credential generate
Generate or replace one or both passwords of a token for an Azure Container Registry. Azure CLI reference
4 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.--password1Flag indicating if password1 should be generated.--password2Flag indicating if password2 should be generated.