Difference between revisions of "Az acr token create"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
* https://learn.microsoft.com/en-us/cli/azure/acr/token?view=azure-cli-latest#az-acr-token-create
 
* https://learn.microsoft.com/en-us/cli/azure/acr/token?view=azure-cli-latest#az-acr-token-create
 
  [[az acr token]] create
 
  [[az acr token]] create
 +
 +
az acr token create -n myToken -r [[myregistry]] --repository hello-world content/delete content/read content/write metadata/read  metadata/write
 +
  
 
  az acr token create -n myToken -r myregistry --repository hello-world content/read metadata/read
 
  az acr token create -n myToken -r myregistry --repository hello-world content/read metadata/read
Line 9: Line 12:
 
  --repository
 
  --repository
 
  ['content/delete', 'content/read', 'content/write', 'metadata/read', 'metadata/write']
 
  ['content/delete', 'content/read', 'content/write', 'metadata/read', 'metadata/write']
 +
 +
[[az acr repository list --name]]
 +
 +
== Errors ==
 +
[[RegistryNameAsTokenNotAllowed]]
  
 
== See also ==
 
== See also ==

Latest revision as of 09:15, 17 July 2024

az acr token create
az acr token create -n myToken -r myregistry --repository hello-world content/delete content/read content/write metadata/read  metadata/write


az acr token create -n myToken -r myregistry --repository hello-world content/read metadata/read


--repository
['content/delete', 'content/read', 'content/write', 'metadata/read', 'metadata/write']
az acr repository list --name

Errors[edit]

RegistryNameAsTokenNotAllowed

See also[edit]

Advertising: