How to load certs from KeyVault #558
beneshed
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Topic: Supporting Chained Certificates from Azure Key Vault
When retrieving a certificate from Azure Key Vault using the built in endpoint
https://docs.microsoft.com/en-us/rest/api/keyvault/getcertificate/getcertificate
Which would look something like the following
For a specific version:
https://myvault.vault.azure.net/secrets/selfSignedCert01/f60f2a4f8ae442cfb41ca2090bd4b769
For the latest version:
```https://myvault.vault.azure.net/secrets/selfSignedCert01``
The response is a base64 encoded PFX file.
To be able to load it properly into the library I suggest using the following snippet
Beta Was this translation helpful? Give feedback.
All reactions