Difference between revisions of "Az acr token create"
Jump to navigation
Jump to search
(Created page with "{{lc}} == See also == * {{az acr}} Category:ACR") |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | * 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 -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 == | ||
+ | [[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]
az acr [ login | repository | repository list | token create | --help ]
Advertising: