Difference between revisions of "Az acr token create"
Jump to navigation
Jump to search
(3 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 | ||
+ | |||
+ | |||
+ | --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: