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

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”