Terraform Secret Management in Azure using Azure Key Vault

Deploying Terraform to Azure is a great way to manage your infrastructure as code. In this blog post, I will show you how to use Azure Key Vault to store your Terraform secrets. I was asked this query recently and thought I would create a quick blog post to show how to do this. Why … Read more

Storing and retrieving secrets in Azure Key Vault with GitHub Actions

Screenshot of a GitHub Actions job creating resource groups using secret values. The image shows the az CLI commands in the workflow logs, where resource groups are being created with values sourced from GitHub Secrets. It includes the commands with hashed or masked secret values, indicating that the resource groups are being configured securely using the secrets

Using GitHub Actions and wanting to store secrets security while utilising Azure? In this blog post I will be showing how you can create and store secrets in Azure Key Vault and retrieve them to be used as part of your GitHub Actions. I wrote a bash script to achieve this as Azure/get-keyvault-secrets@v1 has been … Read more

Referencing Azure Key Vault secrets in Terraform

A quick blog post on how to store your secrets in Azure Key Vault and referencing them within your Terraform configurations. The Azure Key Vault and secrets Azure key Vault and secrets is certainly the recommended approach for storing secrets in Azure! Benefits include: Now the Terraform I am assuming you have used Terraform previously; … Read more

Copy Azure KeyVault secrets to another KeyVault using Azure CLI

I am going to show how you can copy Azure KeyVault secrets to another KeyVault using Azure CLI. I have two key vaults, keyvaultold – Contains secrets1 to secret7 keyvaultnewtest – Contains secret7 I want to copy secrets that are not already present in keyvaultnewtest from keyvaultold I created a bash script using Azure CLI, … Read more