Video Intro to Secret Management with PowerShell

January 03, 2022 0 Comments PowerShell, SecretManagement

Storing and accessing secrets with PowerShell used to be a challenge. Prior to 2021, there was no simple way to create and store secrets. Microsoft released the Secret Management module in early 2021 and made life much easier. The module gives you an easy way to create, store and recall secrets with just a few simple commands.

The Secret management module does the hard work of managing secrets. You create secrets from the command line and then the module converts the data into a secure, encrypted secret that is stored in one of the many vaults that can work with Secret Management. Those other vaults can be popular vaults like LastPass or 1Password or you can store the secrets on your machine. For local storage, you would also install the PowerShell Secret Store module, which then stores the secrets for you encrypted on your local hard drive.

I've been an avid fan of the secret management module since its early beginnings. I did a live demo for the NY PowerShell User Group in October that shows how to get started. This demo covers the basics on installation and usage, along with some information on using Secret Management module with AZ KeyVault. This is a great demo for those of you looking to get started with secret management, but have no previous experience.

I'll be doing a series of articles that dive deeper into Secret Management in the coming weeks. The articles will break down everything in the demo in greater detail and cover some topics not covered in demo. If you would like to know more about secret management, visit the Microsoft Docs page.


Thanks for reading, I'd love to know what you think. Leave me a message in the comment section at the bottom of the page.

Photo credit: Georg Bommeli - Unsplash

You've successfully subscribed to Command Line Ninja
Great! Next, complete checkout for full access to Command Line Ninja
Welcome back! You've successfully signed in.
Unable to sign you in. Please try again.
Success! Your account is fully activated, you now have access to all content.
Error! Stripe checkout failed.
Success! Your billing info is updated.
Error! Billing info update failed.
Table fo contents