Terraspace Azure Key Vault Secrets: How to Setup and Use

Terraspace Azure Key Vault Secrets: How to Setup and Use

January 4, 2022

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:

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

44 courses
286 lessons
46+ hours

Get started with BoltOps Learn now and get access to easy and powerful lessons

BoltOps Tools