Skip to content

Commit

Permalink
[KeyVault] - Export KnownKeyExportEncryptionAlgorithm enum (Azure#18104)
Browse files Browse the repository at this point in the history
I forgot to re-export these known enums when adding Secure Key Release for Key Vault. This commit just corrects that mistake.
  • Loading branch information
maorleger authored Oct 8, 2021
1 parent 2ee4056 commit b9f21d4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions sdk/keyvault/keyvault-keys/review/keyvault-keys.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,13 @@ export enum KnownKeyCurveNames {
P521 = "P-521"
}

// @public
export enum KnownKeyExportEncryptionAlgorithm {
CkmRsaAesKeyWrap = "CKM_RSA_AES_KEY_WRAP",
RsaAesKeyWrap256 = "RSA_AES_KEY_WRAP_256",
RsaAesKeyWrap384 = "RSA_AES_KEY_WRAP_384"
}

// @public
export enum KnownKeyOperations {
Decrypt = "decrypt",
Expand Down
2 changes: 2 additions & 0 deletions sdk/keyvault/keyvault-keys/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ import {
KeyPollerOptions,
KeyType,
KnownKeyTypes,
KnownKeyExportEncryptionAlgorithm,
BeginDeleteKeyOptions,
BeginRecoverDeletedKeyOptions,
KeyProperties,
Expand Down Expand Up @@ -157,6 +158,7 @@ export {
JsonWebKey,
KeyCurveName,
KnownKeyCurveNames,
KnownKeyExportEncryptionAlgorithm,
EncryptionAlgorithm,
KnownEncryptionAlgorithms,
KeyOperation,
Expand Down
3 changes: 3 additions & 0 deletions sdk/keyvault/keyvault-keys/src/keysModels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -582,8 +582,11 @@ export enum KnownKeyOperations {

/** Known values of {@link KeyExportEncryptionAlgorithm} that the service accepts. */
export enum KnownKeyExportEncryptionAlgorithm {
/** CKM_RSA_AES_KEY_WRAP Key Export Encryption Algorithm */
CkmRsaAesKeyWrap = "CKM_RSA_AES_KEY_WRAP",
/** RSA_AES_KEY_WRAP_256 Key Export Encryption Algorithm */
RsaAesKeyWrap256 = "RSA_AES_KEY_WRAP_256",
/** RSA_AES_KEY_WRAP_384 Key Export Encryption Algorithm */
RsaAesKeyWrap384 = "RSA_AES_KEY_WRAP_384"
}

Expand Down

0 comments on commit b9f21d4

Please sign in to comment.