How to Read Azure KeyVault Secrets from a PowerShell Script

Guillermo Musumeci
2 min readApr 10, 2020

--

A common challenge when we execute PowerShell bootstrapping scripts in Azure is to keep our credentials safe.

In this story, we will learn how to retrieve an Azure KeyVault secret from a PowerShell script.

Setting up Credentials to Access the Azure KeyVault Secret

--

--

Guillermo Musumeci

Certified AWS, Azure & GCP Architect | HashiCorp Ambassador | Terraform SME | KopiCloud Founder | ex-AWS | Entrepreneur | Book Author | Husband & Dad of ✌