Store Private Keys into Azure Key Vault Secrets
Import your private key for your secret into the secrets folder of the Azure Key Vault that you have created. Since the private key is a multi-line string, this can be imported via the Azure Cloud Shell.
Start the Azure Cloud Shell and run the following command:
az keyvault secret set --file <privatekey file> --encoding ascii --vault-name <key vault name> --name <secret name>
The key file is created by simply creating a new file with a text editor (vi) in Azure Cloud Shell, pasting the contents of the private key and saving it.