Azure CLI 2 · Containers, Kubernetes and secrets
Read a Key Vault secret
Print one secret's value.
az keyvault secret show --vault-name my-vault --name db-password --query value --output tsv
Caution: This prints the secret in your terminal.
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
- Store a Key Vault secret
- Deploy a Bicep template
All containers, kubernetes and secrets commands · Azure CLI 2 cheatsheet