Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1266,6 +1266,12 @@
- name: Update a secret.
text: |
az containerapp secret set -n my-containerapp -g MyResourceGroup --secrets MyExistingSecretName=MyNewSecretValue MyExistingSecretName2=keyvaultref:https://example.vault.azure.net/secrets/mysecret,identityref:/subscriptions/sub/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity
- name: Add a secret whose value contains spaces, colons, or semicolons by quoting the whole key=value pair.
text: |
az containerapp secret set -n my-containerapp -g MyResourceGroup --secrets 'connString=Server=tcp:myserver;User Id=my user;Password=P@ss w0rd;'
- name: Add a secret whose value contains an apostrophe by using double quotes for the whole key=value pair instead.
text: |
az containerapp secret set -n my-containerapp -g MyResourceGroup --secrets "apostrophe=Bob's secret"
"""

helps['containerapp github-action'] = """
Expand Down