question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support key export from Key Vault

See original GitHub issue

For Key Vault 7.2-preview, we need to add support to export keys. This would be a method like KeyClient.ExportKey that takes the key name, key version (both required), and a body with the KeyExportParameters model found in the link below. This only has a single required property named environment (model property: env), so we should take this as a parameter. This returns a KeyVaultKey (model KeyBundle).

This requires a number of other changes:

  • Add optional Exportable boolean property to KeyProperties.
  • Add ReleasePolicy property to KeyProperties of type KeyReleasePolicy.
  • Add PublicExponent integer property to CreateKeyOptions.
  • Add “export” to KeyOperation enum. This will correctly impact the CreateKeyOptions class and the KeyClient.UpdateKey method…
  • Add ReleasePolicy property to CreateKeyOptions.
  • Add ReleasePolicy property to ImportKeyOptions.

See the service version 7.1 -> 7.2-preview diff 🔒 for details.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
heathscommented, Sep 21, 2020

[9/16 2:54 PM] Heath Stewart For now, hold off. I looped you all into a thread where MHSM just wants this as an opaque JSON blob, so model structure won’t matter.

😉

0reactions
maorlegercommented, Aug 3, 2021

This doesn’t need to be tracked, let’s add a new task when key export is ready on the service side.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Export certificates from Azure Key Vault | Microsoft Learn
Export stored certificates. You can export stored certificates in Azure Key Vault by using the Azure CLI, Azure PowerShell, or the Azure portal....
Read more >
Is it possible to get the private key out of Azure Key Vault Keys?
Azure Key Vault does not support EXPORT operations: once a key is provisioned in the system it cannot be extracted or its key...
Read more >
how to export key from key vault? · Issue #14608 - GitHub
hi there, I'm looking for a way to export my keys from azure key vault tye 'key' but I cannot find how to...
Read more >
Exporting an App Service Certificate from Azure Key Vault to ...
Double click on the exported PFX downloaded from Keyvault onto your Windows Machine. · Whever the cert was installed ie Personal store ->...
Read more >
Storing and Retrieving Third-Party Certificates in Azure Key ...
Importing and exporting third-party certificates to and from Key Vault is very simple. Once they are imported, Key Vault gives you a unified...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found