Support key export from Key Vault #14892
Labels
blocking-release
Blocks release
Client
This issue points to a problem in the data-plane of the library.
KeyVault
Milestone
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 theKeyExportParameters
model found in the link below. This only has a single required property namedenvironment
(model property:env
), so we should take this as a parameter. This returns aKeyVaultKey
(modelKeyBundle
).This requires a number of other changes:
Exportable
boolean property toKeyProperties
.ReleasePolicy
property toKeyProperties
of typeKeyReleasePolicy
.PublicExponent
integer property toCreateKeyOptions
.KeyOperation
enum. This will correctly impact theCreateKeyOptions
class and theKeyClient.UpdateKey
method..ReleasePolicy
property toCreateKeyOptions
.ReleasePolicy
property toImportKeyOptions
.See the service version 7.1 -> 7.2-preview diff 🔒 for details.
The text was updated successfully, but these errors were encountered: