Skip to content

Commit

Permalink
[ACR] az acr credential-set: Improve help message (#29810)
Browse files Browse the repository at this point in the history
  • Loading branch information
renshao authored Sep 24, 2024
1 parent ccd7a30 commit a6e5075
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/azure-cli/azure/cli/command_modules/acr/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -612,15 +612,15 @@
short-summary: Create a credential set.
examples:
- name: Create a credential set.
text: az acr credential-set create -r myregistry -n MyRule -l docker.io -u https://MyKeyvault.vault.azure.net/secrets/usernamesecret -p https://MyKeyvault.vault.azure.net/secrets/passwordsecret
text: az acr credential-set create -r myregistry -n MyDockerHubCredSet -l docker.io -u https://MyKeyvault.vault.azure.net/secrets/usernamesecret -p https://MyKeyvault.vault.azure.net/secrets/passwordsecret
"""

helps['acr credential-set update'] = """
type: command
short-summary: Update the username or password Azure Key Vault secret ID on a credential set.
examples:
- name: Update the password Azure Key Vault secret ID.
text: az acr credential-set update -r myregistry -n MyRule -p https://MyKeyvault.vault.azure.net/secrets/newsecretname
text: az acr credential-set update -r myregistry -n MyDockerHubCredSet -p https://MyKeyvault.vault.azure.net/secrets/newsecretname
"""

helps['acr credential-set delete'] = """
Expand Down

0 comments on commit a6e5075

Please sign in to comment.