@Gupta, Rajesh
Thank you for your post and I apologize for the delayed response!
I'm not too familiar with PGP keys, but I did find some information on this which I'll share below.
PGP KEY process:
- Use PGP key tool to create PGP key pair with passphrase
- Export from PGP key tool, the PGP public Key and PGP Private Key as text files (.asc)
- Use Powershell to BASE 64 files: PGP public key, PGP Private Key, and PassPhrase
- Import BASE 64 files in to Azure Key Vault Secrets via Azure Portal or Powershell
If this is the current process you're referring to when creating PGP keys and storing them in the Azure Key Vault, the Key type (.asc) currently isn't supported by the Key Vault. For more info. If this isn't the process you're using, can share some documentation or examples so I can gain a better understanding of your issue.
If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.
Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.