After my previous article on the basic Powershell cmdlets for Azure Key Vault, I thought it would be interesting to provide to all users, who are already familiar with it, a method to export all keys, certs, and secrets stored in it once via Powershell. Continue reading “How to backup all of your keys, certs and secrets included in all your Azure Key Vaults”
Secrets management with Azure Key Vault and Powershell
I’m writing this short blog post to fill a gap here on scripting library regarding the secret management topic after a comment received on this previous article.
I’m not opinionated when I need to choose a secret management solution, there are multiple options available and like anything else, it depends on your needs. What I find very appealing about Azure Key Vault is that offers a very simple user interface, all the features I generally need, no upfront costs, and all the PowerShell cmd-let you need. Continue reading “Secrets management with Azure Key Vault and Powershell”
How to get your Certificate and Private Key file from a PFX file
The filename extensions for PKCS #12 are *.PFX or *.P12 and both are the most common bundles of X.509 certificates (sometimes with the full chain of trust) and private key.
I always need to look at the man page of OpenSSL or review my bash history to use the right options to extract a certificate file and a key file from it.
For this reason, I’ve created a small bash script to complete this step for me.
Continue reading “How to get your Certificate and Private Key file from a PFX file”