How can I store my key pair (typically the id_rsa and id_rsa.pub) in azure key vault.
I want to put the public key in my GIT service and allow a virtual machine to download the private key from Azure key vault -> So that it can access GIT securely.
I tried making a pair of PEM files and combining them into a pfx and uploading that as a secret bu the file I get back appears to be completely different to either pem file.
I also tried manually inputting my secret key into Azure but it turns the newlines into spaces.
Best Answer
You could use Azure CLI to upload
id_rsa
to Azure Key Vault.You could use
-h
to get help.You could also download secret from key vault.
I compare the keys on my lab. They are same.