Azure CLI 2 · Containers, Kubernetes and secrets
Store a Key Vault secret
Create or update a secret. Use a real value.
az keyvault secret set --vault-name my-vault --name db-password --value "change-me"
Official Azure CLI 2 documentation
More containers, kubernetes and secrets commands
- Sign Docker in to a registry
- Build an image in the registry
- Connect kubectl to AKS
- Scale an AKS node pool
- Read a Key Vault secret
- Deploy a Bicep template
All containers, kubernetes and secrets commands · Azure CLI 2 cheatsheet