We'll show you how to use Azure Key Vault Secrets with Terraspace. This allows you to not store any secret information like passwords in your Terraform source code.
Commands
In the video, to focus on learning, we mainly use the Azure Portal Console to create the Key Vault and secrets. Once you get used to it, here are some useful CLI commands:
export VAULT=demo-dev-vault-test1
az keyvault create --name $VAULT
az keyvault secret set --vault-name $VAULT --name demo-dev-user --value bob
az keyvault secret set --vault-name $VAULT --name demo-dev-pass --value secret1
az keyvault secret show --vault-name $VAULT --name demo-dev-user
az keyvault secret show --vault-name $VAULT --name demo-dev-pass
Links:
- Terraspace Docs: AWS Secrets
- GitHub: boltops-learn/terraspace-azure-secrets
Terraspace Azure Cloud
1h 15m
Explore lesson as part of a learning path
Get full access to these great resources
All for less than the price of coffee a day