@azure/keyvault-keys 4.10.2 → 4.11.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/README.md +52 -2
  2. package/dist/browser/api/keyVaultContext.js +1 -1
  3. package/dist/browser/api/keyVaultContext.js.map +1 -1
  4. package/dist/browser/api/operations.d.ts +10 -2
  5. package/dist/browser/api/operations.d.ts.map +1 -1
  6. package/dist/browser/api/operations.js +65 -1
  7. package/dist/browser/api/operations.js.map +1 -1
  8. package/dist/browser/api/options.d.ts +6 -0
  9. package/dist/browser/api/options.d.ts.map +1 -1
  10. package/dist/browser/api/options.js.map +1 -1
  11. package/dist/browser/constants.d.ts.map +1 -1
  12. package/dist/browser/constants.js +1 -1
  13. package/dist/browser/constants.js.map +1 -1
  14. package/dist/browser/cryptography/models.d.ts.map +1 -1
  15. package/dist/browser/cryptography/models.js.map +1 -1
  16. package/dist/browser/cryptographyClient.d.ts.map +1 -1
  17. package/dist/browser/cryptographyClient.js.map +1 -1
  18. package/dist/browser/cryptographyClientModels.d.ts.map +1 -1
  19. package/dist/browser/cryptographyClientModels.js.map +1 -1
  20. package/dist/browser/index.d.ts +102 -2
  21. package/dist/browser/index.d.ts.map +1 -1
  22. package/dist/browser/index.js +139 -0
  23. package/dist/browser/index.js.map +1 -1
  24. package/dist/browser/keyVaultClient.d.ts +6 -2
  25. package/dist/browser/keyVaultClient.d.ts.map +1 -1
  26. package/dist/browser/keyVaultClient.js +9 -1
  27. package/dist/browser/keyVaultClient.js.map +1 -1
  28. package/dist/browser/keysModels.d.ts +75 -2
  29. package/dist/browser/keysModels.d.ts.map +1 -1
  30. package/dist/browser/keysModels.js +5 -1
  31. package/dist/browser/keysModels.js.map +1 -1
  32. package/dist/browser/models/models.d.ts +37 -1
  33. package/dist/browser/models/models.d.ts.map +1 -1
  34. package/dist/browser/models/models.js +32 -0
  35. package/dist/browser/models/models.js.map +1 -1
  36. package/dist/browser/transformations.d.ts.map +1 -1
  37. package/dist/browser/transformations.js +12 -0
  38. package/dist/browser/transformations.js.map +1 -1
  39. package/dist/commonjs/api/keyVaultContext.js +1 -1
  40. package/dist/commonjs/api/keyVaultContext.js.map +1 -1
  41. package/dist/commonjs/api/operations.d.ts +10 -2
  42. package/dist/commonjs/api/operations.d.ts.map +1 -1
  43. package/dist/commonjs/api/operations.js +82 -0
  44. package/dist/commonjs/api/operations.js.map +2 -2
  45. package/dist/commonjs/api/options.d.ts +6 -0
  46. package/dist/commonjs/api/options.d.ts.map +1 -1
  47. package/dist/commonjs/api/options.js.map +1 -1
  48. package/dist/commonjs/constants.d.ts.map +1 -1
  49. package/dist/commonjs/constants.js +1 -1
  50. package/dist/commonjs/constants.js.map +1 -1
  51. package/dist/commonjs/cryptography/models.d.ts.map +1 -1
  52. package/dist/commonjs/cryptography/models.js.map +1 -1
  53. package/dist/commonjs/cryptographyClient.d.ts.map +1 -1
  54. package/dist/commonjs/cryptographyClient.js.map +2 -2
  55. package/dist/commonjs/cryptographyClientModels.d.ts.map +1 -1
  56. package/dist/commonjs/cryptographyClientModels.js.map +1 -1
  57. package/dist/commonjs/index.d.ts +102 -2
  58. package/dist/commonjs/index.d.ts.map +1 -1
  59. package/dist/commonjs/index.js +158 -0
  60. package/dist/commonjs/index.js.map +3 -3
  61. package/dist/commonjs/keyVaultClient.d.ts +6 -2
  62. package/dist/commonjs/keyVaultClient.d.ts.map +1 -1
  63. package/dist/commonjs/keyVaultClient.js +8 -0
  64. package/dist/commonjs/keyVaultClient.js.map +2 -2
  65. package/dist/commonjs/keysModels.d.ts +75 -2
  66. package/dist/commonjs/keysModels.d.ts.map +1 -1
  67. package/dist/commonjs/keysModels.js +3 -1
  68. package/dist/commonjs/keysModels.js.map +2 -2
  69. package/dist/commonjs/models/models.d.ts +37 -1
  70. package/dist/commonjs/models/models.d.ts.map +1 -1
  71. package/dist/commonjs/models/models.js +38 -4
  72. package/dist/commonjs/models/models.js.map +2 -2
  73. package/dist/commonjs/transformations.d.ts.map +1 -1
  74. package/dist/commonjs/transformations.js +12 -0
  75. package/dist/commonjs/transformations.js.map +2 -2
  76. package/dist/commonjs/tsdoc-metadata.json +1 -1
  77. package/dist/esm/api/keyVaultContext.js +1 -1
  78. package/dist/esm/api/keyVaultContext.js.map +1 -1
  79. package/dist/esm/api/operations.d.ts +10 -2
  80. package/dist/esm/api/operations.d.ts.map +1 -1
  81. package/dist/esm/api/operations.js +65 -1
  82. package/dist/esm/api/operations.js.map +1 -1
  83. package/dist/esm/api/options.d.ts +6 -0
  84. package/dist/esm/api/options.d.ts.map +1 -1
  85. package/dist/esm/api/options.js.map +1 -1
  86. package/dist/esm/constants.d.ts.map +1 -1
  87. package/dist/esm/constants.js +1 -1
  88. package/dist/esm/constants.js.map +1 -1
  89. package/dist/esm/cryptography/models.d.ts.map +1 -1
  90. package/dist/esm/cryptography/models.js.map +1 -1
  91. package/dist/esm/cryptographyClient.d.ts.map +1 -1
  92. package/dist/esm/cryptographyClient.js.map +1 -1
  93. package/dist/esm/cryptographyClientModels.d.ts.map +1 -1
  94. package/dist/esm/cryptographyClientModels.js.map +1 -1
  95. package/dist/esm/index.d.ts +102 -2
  96. package/dist/esm/index.d.ts.map +1 -1
  97. package/dist/esm/index.js +139 -0
  98. package/dist/esm/index.js.map +1 -1
  99. package/dist/esm/keyVaultClient.d.ts +6 -2
  100. package/dist/esm/keyVaultClient.d.ts.map +1 -1
  101. package/dist/esm/keyVaultClient.js +9 -1
  102. package/dist/esm/keyVaultClient.js.map +1 -1
  103. package/dist/esm/keysModels.d.ts +75 -2
  104. package/dist/esm/keysModels.d.ts.map +1 -1
  105. package/dist/esm/keysModels.js +5 -1
  106. package/dist/esm/keysModels.js.map +1 -1
  107. package/dist/esm/models/models.d.ts +37 -1
  108. package/dist/esm/models/models.d.ts.map +1 -1
  109. package/dist/esm/models/models.js +32 -0
  110. package/dist/esm/models/models.js.map +1 -1
  111. package/dist/esm/transformations.d.ts.map +1 -1
  112. package/dist/esm/transformations.js +12 -0
  113. package/dist/esm/transformations.js.map +1 -1
  114. package/package.json +7 -7
@@ -1 +1 @@
1
- {"version":3,"file":"keyVaultClient.js","sourceRoot":"","sources":["../../src/keyVaultClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAiDhD,OAAO,EACL,iBAAiB,EACjB,cAAc,EACd,uBAAuB,EACvB,oBAAoB,EACpB,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,cAAc,EACd,OAAO,EACP,SAAS,EACT,OAAO,EACP,MAAM,EACN,IAAI,EACJ,OAAO,EACP,OAAO,EACP,UAAU,EACV,SAAS,EACT,OAAO,EACP,cAAc,EACd,MAAM,EACN,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,GACV,MAAM,qBAAqB,CAAC;AAO7B,MAAM,OAAO,cAAc;IACjB,OAAO,CAAkB;IACjC,wDAAwD;IACxC,QAAQ,CAAW;IAEnC,qHAAqH;IACrH,YACE,aAAqB,EACrB,UAA2B,EAC3B,UAAwC,EAAE;QAE1C,MAAM,iBAAiB,GAAG,OAAO,EAAE,gBAAgB,EAAE,eAAe,CAAC;QACrE,MAAM,eAAe,GAAG,iBAAiB;YACvC,CAAC,CAAC,GAAG,iBAAiB,kBAAkB;YACxC,CAAC,CAAC,iBAAiB,CAAC;QACtB,IAAI,CAAC,OAAO,GAAG,cAAc,CAAC,aAAa,EAAE,UAAU,EAAE;YACvD,GAAG,OAAO;YACV,gBAAgB,EAAE,EAAE,eAAe,EAAE;SACtC,CAAC,CAAC;QACH,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC;IACxC,CAAC;IAED,0IAA0I;IAC1I,iBAAiB,CACf,OAAe,EACf,UAA8B,EAC9B,UAA2C,EAAE,cAAc,EAAE,EAAE,EAAE;QAEjE,OAAO,iBAAiB,CAAC,IAAI,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,CAAC,CAAC;IAC5D,CAAC;IAED,+MAA+M;IAC/M,SAAS,CACP,OAAe,EACf,UAAkB,EAClB,UAA+B,EAC/B,UAAmC,EAAE,cAAc,EAAE,EAAE,EAAE;QAEzD,OAAO,SAAS,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAED,mTAAmT;IACnT,SAAS,CACP,OAAe,EACf,UAAmC,EAAE,cAAc,EAAE,EAAE,EAAE;QAEzD,OAAO,SAAS,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;IAED,kOAAkO;IAClO,SAAS,CACP,OAAe,EACf,UAA+B,EAC/B,UAAmC,EAAE,cAAc,EAAE,EAAE,EAAE;QAEzD,OAAO,SAAS,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED,yGAAyG;IACzG,SAAS,CACP,OAAe,EACf,UAAmC,EAAE,cAAc,EAAE,EAAE,EAAE;QAEzD,OAAO,SAAS,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;IAED,iNAAiN;IACjN,SAAS,CACP,OAAe,EACf,UAA+B,EAC/B,UAAmC,EAAE,cAAc,EAAE,EAAE,EAAE;QAEzD,OAAO,SAAS,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;CACF","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { KeyVaultContext, KeyVaultClientOptionalParams } from \"./api/index.js\";\nimport { createKeyVault } from \"./api/index.js\";\nimport type {\n KeyCreateParameters,\n KeyBundle,\n KeyImportParameters,\n DeletedKeyBundle,\n KeyUpdateParameters,\n KeyItem,\n BackupKeyResult,\n KeyRestoreParameters,\n KeyOperationsParameters,\n KeyOperationResult,\n KeySignParameters,\n KeyVerifyParameters,\n KeyVerifyResult,\n KeyReleaseParameters,\n KeyReleaseResult,\n DeletedKeyItem,\n KeyRotationPolicy,\n GetRandomBytesRequest,\n RandomBytes,\n} from \"./models/models.js\";\nimport type {\n GetKeyAttestationOptionalParams,\n GetRandomBytesOptionalParams,\n UpdateKeyRotationPolicyOptionalParams,\n GetKeyRotationPolicyOptionalParams,\n RecoverDeletedKeyOptionalParams,\n PurgeDeletedKeyOptionalParams,\n GetDeletedKeyOptionalParams,\n GetDeletedKeysOptionalParams,\n ReleaseOptionalParams,\n UnwrapKeyOptionalParams,\n WrapKeyOptionalParams,\n VerifyOptionalParams,\n SignOptionalParams,\n DecryptOptionalParams,\n EncryptOptionalParams,\n RestoreKeyOptionalParams,\n BackupKeyOptionalParams,\n GetKeysOptionalParams,\n GetKeyVersionsOptionalParams,\n GetKeyOptionalParams,\n UpdateKeyOptionalParams,\n DeleteKeyOptionalParams,\n ImportKeyOptionalParams,\n RotateKeyOptionalParams,\n CreateKeyOptionalParams,\n} from \"./api/options.js\";\nimport {\n getKeyAttestation,\n getRandomBytes,\n updateKeyRotationPolicy,\n getKeyRotationPolicy,\n recoverDeletedKey,\n purgeDeletedKey,\n getDeletedKey,\n getDeletedKeys,\n release,\n unwrapKey,\n wrapKey,\n verify,\n sign,\n decrypt,\n encrypt,\n restoreKey,\n backupKey,\n getKeys,\n getKeyVersions,\n getKey,\n updateKey,\n deleteKey,\n importKey,\n rotateKey,\n createKey,\n} from \"./api/operations.js\";\nimport type { PagedAsyncIterableIterator } from \"./static-helpers/pagingHelpers.js\";\nimport type { Pipeline } from \"@azure/core-rest-pipeline\";\nimport type { TokenCredential } from \"@azure/core-auth\";\n\nexport type { KeyVaultClientOptionalParams } from \"./api/keyVaultContext.js\";\n\nexport class KeyVaultClient {\n private _client: KeyVaultContext;\n /** The pipeline used by this client to make requests */\n public readonly pipeline: Pipeline;\n\n /** The key vault client performs cryptographic key operations and vault operations against the Key Vault service. */\n constructor(\n endpointParam: string,\n credential: TokenCredential,\n options: KeyVaultClientOptionalParams = {},\n ) {\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-client`\n : `azsdk-js-client`;\n this._client = createKeyVault(endpointParam, credential, {\n ...options,\n userAgentOptions: { userAgentPrefix },\n });\n this.pipeline = this._client.pipeline;\n }\n\n /** The get key attestation operation returns the key along with its attestation blob. This operation requires the keys/get permission. */\n getKeyAttestation(\n keyName: string,\n keyVersion: string | undefined,\n options: GetKeyAttestationOptionalParams = { requestOptions: {} },\n ): Promise<KeyBundle> {\n return getKeyAttestation(this._client, keyName, keyVersion, options);\n }\n\n /** Get the requested number of bytes containing random values from a managed HSM. */\n getRandomBytes(\n parameters: GetRandomBytesRequest,\n options: GetRandomBytesOptionalParams = { requestOptions: {} },\n ): Promise<RandomBytes> {\n return getRandomBytes(this._client, parameters, options);\n }\n\n /** Set specified members in the key policy. Leave others as undefined. This operation requires the keys/update permission. */\n updateKeyRotationPolicy(\n keyName: string,\n keyRotationPolicy: KeyRotationPolicy,\n options: UpdateKeyRotationPolicyOptionalParams = { requestOptions: {} },\n ): Promise<KeyRotationPolicy> {\n return updateKeyRotationPolicy(this._client, keyName, keyRotationPolicy, options);\n }\n\n /** The GetKeyRotationPolicy operation returns the specified key policy resources in the specified key vault. This operation requires the keys/get permission. */\n getKeyRotationPolicy(\n keyName: string,\n options: GetKeyRotationPolicyOptionalParams = { requestOptions: {} },\n ): Promise<KeyRotationPolicy> {\n return getKeyRotationPolicy(this._client, keyName, options);\n }\n\n /** The Recover Deleted Key operation is applicable for deleted keys in soft-delete enabled vaults. It recovers the deleted key back to its latest version under /keys. An attempt to recover an non-deleted key will return an error. Consider this the inverse of the delete operation on soft-delete enabled vaults. This operation requires the keys/recover permission. */\n recoverDeletedKey(\n keyName: string,\n options: RecoverDeletedKeyOptionalParams = { requestOptions: {} },\n ): Promise<KeyBundle> {\n return recoverDeletedKey(this._client, keyName, options);\n }\n\n /** The Purge Deleted Key operation is applicable for soft-delete enabled vaults. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/purge permission. */\n purgeDeletedKey(\n keyName: string,\n options: PurgeDeletedKeyOptionalParams = { requestOptions: {} },\n ): Promise<void> {\n return purgeDeletedKey(this._client, keyName, options);\n }\n\n /** The Get Deleted Key operation is applicable for soft-delete enabled vaults. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/get permission. */\n getDeletedKey(\n keyName: string,\n options: GetDeletedKeyOptionalParams = { requestOptions: {} },\n ): Promise<DeletedKeyBundle> {\n return getDeletedKey(this._client, keyName, options);\n }\n\n /** Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a deleted key. This operation includes deletion-specific information. The Get Deleted Keys operation is applicable for vaults enabled for soft-delete. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/list permission. */\n getDeletedKeys(\n options: GetDeletedKeysOptionalParams = { requestOptions: {} },\n ): PagedAsyncIterableIterator<DeletedKeyItem> {\n return getDeletedKeys(this._client, options);\n }\n\n /** The release key operation is applicable to all key types. The target key must be marked exportable. This operation requires the keys/release permission. */\n release(\n keyName: string,\n keyVersion: string | undefined,\n parameters: KeyReleaseParameters,\n options: ReleaseOptionalParams = { requestOptions: {} },\n ): Promise<KeyReleaseResult> {\n return release(this._client, keyName, keyVersion, parameters, options);\n }\n\n /** The UNWRAP operation supports decryption of a symmetric key using the target key encryption key. This operation is the reverse of the WRAP operation. The UNWRAP operation applies to asymmetric and symmetric keys stored in Azure Key Vault since it uses the private portion of the key. This operation requires the keys/unwrapKey permission. */\n unwrapKey(\n keyName: string,\n keyVersion: string,\n parameters: KeyOperationsParameters,\n options: UnwrapKeyOptionalParams = { requestOptions: {} },\n ): Promise<KeyOperationResult> {\n return unwrapKey(this._client, keyName, keyVersion, parameters, options);\n }\n\n /** The WRAP operation supports encryption of a symmetric key using a key encryption key that has previously been stored in an Azure Key Vault. The WRAP operation is only strictly necessary for symmetric keys stored in Azure Key Vault since protection with an asymmetric key can be performed using the public portion of the key. This operation is supported for asymmetric keys as a convenience for callers that have a key-reference but do not have access to the public key material. This operation requires the keys/wrapKey permission. */\n wrapKey(\n keyName: string,\n keyVersion: string,\n parameters: KeyOperationsParameters,\n options: WrapKeyOptionalParams = { requestOptions: {} },\n ): Promise<KeyOperationResult> {\n return wrapKey(this._client, keyName, keyVersion, parameters, options);\n }\n\n /** The VERIFY operation is applicable to symmetric keys stored in Azure Key Vault. VERIFY is not strictly necessary for asymmetric keys stored in Azure Key Vault since signature verification can be performed using the public portion of the key but this operation is supported as a convenience for callers that only have a key-reference and not the public portion of the key. This operation requires the keys/verify permission. */\n verify(\n keyName: string,\n keyVersion: string,\n parameters: KeyVerifyParameters,\n options: VerifyOptionalParams = { requestOptions: {} },\n ): Promise<KeyVerifyResult> {\n return verify(this._client, keyName, keyVersion, parameters, options);\n }\n\n /** The SIGN operation is applicable to asymmetric and symmetric keys stored in Azure Key Vault since this operation uses the private portion of the key. This operation requires the keys/sign permission. */\n sign(\n keyName: string,\n keyVersion: string,\n parameters: KeySignParameters,\n options: SignOptionalParams = { requestOptions: {} },\n ): Promise<KeyOperationResult> {\n return sign(this._client, keyName, keyVersion, parameters, options);\n }\n\n /** The DECRYPT operation decrypts a well-formed block of ciphertext using the target encryption key and specified algorithm. This operation is the reverse of the ENCRYPT operation; only a single block of data may be decrypted, the size of this block is dependent on the target key and the algorithm to be used. The DECRYPT operation applies to asymmetric and symmetric keys stored in Azure Key Vault since it uses the private portion of the key. This operation requires the keys/decrypt permission. Microsoft recommends not to use CBC algorithms for decryption without first ensuring the integrity of the ciphertext using an HMAC, for example. See https://learn.microsoft.com/dotnet/standard/security/vulnerabilities-cbc-mode for more information. */\n decrypt(\n keyName: string,\n keyVersion: string,\n parameters: KeyOperationsParameters,\n options: DecryptOptionalParams = { requestOptions: {} },\n ): Promise<KeyOperationResult> {\n return decrypt(this._client, keyName, keyVersion, parameters, options);\n }\n\n /** The ENCRYPT operation encrypts an arbitrary sequence of bytes using an encryption key that is stored in Azure Key Vault. Note that the ENCRYPT operation only supports a single block of data, the size of which is dependent on the target key and the encryption algorithm to be used. The ENCRYPT operation is only strictly necessary for symmetric keys stored in Azure Key Vault since protection with an asymmetric key can be performed using public portion of the key. This operation is supported for asymmetric keys as a convenience for callers that have a key-reference but do not have access to the public key material. This operation requires the keys/encrypt permission. */\n encrypt(\n keyName: string,\n keyVersion: string,\n parameters: KeyOperationsParameters,\n options: EncryptOptionalParams = { requestOptions: {} },\n ): Promise<KeyOperationResult> {\n return encrypt(this._client, keyName, keyVersion, parameters, options);\n }\n\n /** Imports a previously backed up key into Azure Key Vault, restoring the key, its key identifier, attributes and access control policies. The RESTORE operation may be used to import a previously backed up key. Individual versions of a key cannot be restored. The key is restored in its entirety with the same key name as it had when it was backed up. If the key name is not available in the target Key Vault, the RESTORE operation will be rejected. While the key name is retained during restore, the final key identifier will change if the key is restored to a different vault. Restore will restore all versions and preserve version identifiers. The RESTORE operation is subject to security constraints: The target Key Vault must be owned by the same Microsoft Azure Subscription as the source Key Vault The user must have RESTORE permission in the target Key Vault. This operation requires the keys/restore permission. */\n restoreKey(\n parameters: KeyRestoreParameters,\n options: RestoreKeyOptionalParams = { requestOptions: {} },\n ): Promise<KeyBundle> {\n return restoreKey(this._client, parameters, options);\n }\n\n /** The Key Backup operation exports a key from Azure Key Vault in a protected form. Note that this operation does NOT return key material in a form that can be used outside the Azure Key Vault system, the returned key material is either protected to a Azure Key Vault HSM or to Azure Key Vault itself. The intent of this operation is to allow a client to GENERATE a key in one Azure Key Vault instance, BACKUP the key, and then RESTORE it into another Azure Key Vault instance. The BACKUP operation may be used to export, in protected form, any key type from Azure Key Vault. Individual versions of a key cannot be backed up. BACKUP / RESTORE can be performed within geographical boundaries only; meaning that a BACKUP from one geographical area cannot be restored to another geographical area. For example, a backup from the US geographical area cannot be restored in an EU geographical area. This operation requires the key/backup permission. */\n backupKey(\n keyName: string,\n options: BackupKeyOptionalParams = { requestOptions: {} },\n ): Promise<BackupKeyResult> {\n return backupKey(this._client, keyName, options);\n }\n\n /** Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier, attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. This operation requires the keys/list permission. */\n getKeys(\n options: GetKeysOptionalParams = { requestOptions: {} },\n ): PagedAsyncIterableIterator<KeyItem> {\n return getKeys(this._client, options);\n }\n\n /** The full key identifier, attributes, and tags are provided in the response. This operation requires the keys/list permission. */\n getKeyVersions(\n keyName: string,\n options: GetKeyVersionsOptionalParams = { requestOptions: {} },\n ): PagedAsyncIterableIterator<KeyItem> {\n return getKeyVersions(this._client, keyName, options);\n }\n\n /** The get key operation is applicable to all key types. If the requested key is symmetric, then no key material is released in the response. This operation requires the keys/get permission. */\n getKey(\n keyName: string,\n keyVersion: string,\n options: GetKeyOptionalParams = { requestOptions: {} },\n ): Promise<KeyBundle> {\n return getKey(this._client, keyName, keyVersion, options);\n }\n\n /** In order to perform this operation, the key must already exist in the Key Vault. Note: The cryptographic material of a key itself cannot be changed. This operation requires the keys/update permission. */\n updateKey(\n keyName: string,\n keyVersion: string,\n parameters: KeyUpdateParameters,\n options: UpdateKeyOptionalParams = { requestOptions: {} },\n ): Promise<KeyBundle> {\n return updateKey(this._client, keyName, keyVersion, parameters, options);\n }\n\n /** The delete key operation cannot be used to remove individual versions of a key. This operation removes the cryptographic material associated with the key, which means the key is not usable for Sign/Verify, Wrap/Unwrap or Encrypt/Decrypt operations. This operation requires the keys/delete permission. */\n deleteKey(\n keyName: string,\n options: DeleteKeyOptionalParams = { requestOptions: {} },\n ): Promise<DeletedKeyBundle> {\n return deleteKey(this._client, keyName, options);\n }\n\n /** The import key operation may be used to import any key type into an Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. This operation requires the keys/import permission. */\n importKey(\n keyName: string,\n parameters: KeyImportParameters,\n options: ImportKeyOptionalParams = { requestOptions: {} },\n ): Promise<KeyBundle> {\n return importKey(this._client, keyName, parameters, options);\n }\n\n /** The operation will rotate the key based on the key policy. It requires the keys/rotate permission. */\n rotateKey(\n keyName: string,\n options: RotateKeyOptionalParams = { requestOptions: {} },\n ): Promise<KeyBundle> {\n return rotateKey(this._client, keyName, options);\n }\n\n /** The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. It requires the keys/create permission. */\n createKey(\n keyName: string,\n parameters: KeyCreateParameters,\n options: CreateKeyOptionalParams = { requestOptions: {} },\n ): Promise<KeyBundle> {\n return createKey(this._client, keyName, parameters, options);\n }\n}\n"]}
1
+ {"version":3,"file":"keyVaultClient.js","sourceRoot":"","sources":["../../src/keyVaultClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAqDhD,OAAO,EACL,iBAAiB,EACjB,cAAc,EACd,uBAAuB,EACvB,oBAAoB,EACpB,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,cAAc,EACd,OAAO,EACP,SAAS,EACT,OAAO,EACP,aAAa,EACb,eAAe,EACf,MAAM,EACN,IAAI,EACJ,OAAO,EACP,OAAO,EACP,UAAU,EACV,SAAS,EACT,OAAO,EACP,cAAc,EACd,MAAM,EACN,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,GACV,MAAM,qBAAqB,CAAC;AAO7B,MAAM,OAAO,cAAc;IACjB,OAAO,CAAkB;IACjC,wDAAwD;IACxC,QAAQ,CAAW;IAEnC,qHAAqH;IACrH,YACE,aAAqB,EACrB,UAA2B,EAC3B,UAAwC,EAAE;QAE1C,MAAM,iBAAiB,GAAG,OAAO,EAAE,gBAAgB,EAAE,eAAe,CAAC;QACrE,MAAM,eAAe,GAAG,iBAAiB;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OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;IAED,kOAAkO;IAClO,SAAS,CACP,OAAe,EACf,UAA+B,EAC/B,UAAmC,EAAE,cAAc,EAAE,EAAE,EAAE;QAEzD,OAAO,SAAS,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED,yGAAyG;IACzG,SAAS,CACP,OAAe,EACf,UAAmC,EAAE,cAAc,EAAE,EAAE,EAAE;QAEzD,OAAO,SAAS,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;IAED,iNAAiN;IACjN,SAAS,CACP,OAAe,EACf,UAA+B,EAC/B,UAAmC,EAAE,cAAc,EAAE,EAAE,EAAE;QAEzD,OAAO,SAAS,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;CACF","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { KeyVaultContext, KeyVaultClientOptionalParams } from \"./api/index.js\";\nimport { createKeyVault } from \"./api/index.js\";\nimport type {\n KeyCreateParameters,\n KeyBundle,\n KeyImportParameters,\n DeletedKeyBundle,\n KeyUpdateParameters,\n KeyItem,\n BackupKeyResult,\n KeyRestoreParameters,\n KeyOperationsParameters,\n KeyOperationResult,\n KeySignParameters,\n KeyVerifyParameters,\n KeyVerifyResult,\n KeyReleaseParameters,\n KeyReleaseResult,\n SecureKeyWrapParameters,\n SecureKeyUnwrapParameters,\n DeletedKeyItem,\n KeyRotationPolicy,\n GetRandomBytesRequest,\n RandomBytes,\n} from \"./models/models.js\";\nimport type {\n GetKeyAttestationOptionalParams,\n GetRandomBytesOptionalParams,\n UpdateKeyRotationPolicyOptionalParams,\n GetKeyRotationPolicyOptionalParams,\n RecoverDeletedKeyOptionalParams,\n PurgeDeletedKeyOptionalParams,\n GetDeletedKeyOptionalParams,\n GetDeletedKeysOptionalParams,\n ReleaseOptionalParams,\n UnwrapKeyOptionalParams,\n WrapKeyOptionalParams,\n SecureWrapKeyOptionalParams,\n SecureUnwrapKeyOptionalParams,\n VerifyOptionalParams,\n SignOptionalParams,\n DecryptOptionalParams,\n EncryptOptionalParams,\n RestoreKeyOptionalParams,\n BackupKeyOptionalParams,\n GetKeysOptionalParams,\n GetKeyVersionsOptionalParams,\n GetKeyOptionalParams,\n UpdateKeyOptionalParams,\n DeleteKeyOptionalParams,\n ImportKeyOptionalParams,\n RotateKeyOptionalParams,\n CreateKeyOptionalParams,\n} from \"./api/options.js\";\nimport {\n getKeyAttestation,\n getRandomBytes,\n updateKeyRotationPolicy,\n getKeyRotationPolicy,\n recoverDeletedKey,\n purgeDeletedKey,\n getDeletedKey,\n getDeletedKeys,\n release,\n unwrapKey,\n wrapKey,\n secureWrapKey,\n secureUnwrapKey,\n verify,\n sign,\n decrypt,\n encrypt,\n restoreKey,\n backupKey,\n getKeys,\n getKeyVersions,\n getKey,\n updateKey,\n deleteKey,\n importKey,\n rotateKey,\n createKey,\n} from \"./api/operations.js\";\nimport type { PagedAsyncIterableIterator } from \"./static-helpers/pagingHelpers.js\";\nimport type { Pipeline } from \"@azure/core-rest-pipeline\";\nimport type { TokenCredential } from \"@azure/core-auth\";\n\nexport type { KeyVaultClientOptionalParams } from \"./api/keyVaultContext.js\";\n\nexport class KeyVaultClient {\n private _client: KeyVaultContext;\n /** The pipeline used by this client to make requests */\n public readonly pipeline: Pipeline;\n\n /** The key vault client performs cryptographic key operations and vault operations against the Key Vault service. */\n constructor(\n endpointParam: string,\n credential: TokenCredential,\n options: KeyVaultClientOptionalParams = {},\n ) {\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-client`\n : `azsdk-js-client`;\n this._client = createKeyVault(endpointParam, credential, {\n ...options,\n userAgentOptions: { userAgentPrefix },\n });\n this.pipeline = this._client.pipeline;\n }\n\n /** The get key attestation operation returns the key along with its attestation blob. This operation requires the keys/get permission. */\n getKeyAttestation(\n keyName: string,\n keyVersion: string | undefined,\n options: GetKeyAttestationOptionalParams = { requestOptions: {} },\n ): Promise<KeyBundle> {\n return getKeyAttestation(this._client, keyName, keyVersion, options);\n }\n\n /** Get the requested number of bytes containing random values from a managed HSM. */\n getRandomBytes(\n parameters: GetRandomBytesRequest,\n options: GetRandomBytesOptionalParams = { requestOptions: {} },\n ): Promise<RandomBytes> {\n return getRandomBytes(this._client, parameters, options);\n }\n\n /** Set specified members in the key policy. Leave others as undefined. This operation requires the keys/update permission. */\n updateKeyRotationPolicy(\n keyName: string,\n keyRotationPolicy: KeyRotationPolicy,\n options: UpdateKeyRotationPolicyOptionalParams = { requestOptions: {} },\n ): Promise<KeyRotationPolicy> {\n return updateKeyRotationPolicy(this._client, keyName, keyRotationPolicy, options);\n }\n\n /** The GetKeyRotationPolicy operation returns the specified key policy resources in the specified key vault. This operation requires the keys/get permission. */\n getKeyRotationPolicy(\n keyName: string,\n options: GetKeyRotationPolicyOptionalParams = { requestOptions: {} },\n ): Promise<KeyRotationPolicy> {\n return getKeyRotationPolicy(this._client, keyName, options);\n }\n\n /** The Recover Deleted Key operation is applicable for deleted keys in soft-delete enabled vaults. It recovers the deleted key back to its latest version under /keys. An attempt to recover an non-deleted key will return an error. Consider this the inverse of the delete operation on soft-delete enabled vaults. This operation requires the keys/recover permission. */\n recoverDeletedKey(\n keyName: string,\n options: RecoverDeletedKeyOptionalParams = { requestOptions: {} },\n ): Promise<KeyBundle> {\n return recoverDeletedKey(this._client, keyName, options);\n }\n\n /** The Purge Deleted Key operation is applicable for soft-delete enabled vaults. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/purge permission. */\n purgeDeletedKey(\n keyName: string,\n options: PurgeDeletedKeyOptionalParams = { requestOptions: {} },\n ): Promise<void> {\n return purgeDeletedKey(this._client, keyName, options);\n }\n\n /** The Get Deleted Key operation is applicable for soft-delete enabled vaults. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/get permission. */\n getDeletedKey(\n keyName: string,\n options: GetDeletedKeyOptionalParams = { requestOptions: {} },\n ): Promise<DeletedKeyBundle> {\n return getDeletedKey(this._client, keyName, options);\n }\n\n /** Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a deleted key. This operation includes deletion-specific information. The Get Deleted Keys operation is applicable for vaults enabled for soft-delete. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/list permission. */\n getDeletedKeys(\n options: GetDeletedKeysOptionalParams = { requestOptions: {} },\n ): PagedAsyncIterableIterator<DeletedKeyItem> {\n return getDeletedKeys(this._client, options);\n }\n\n /** The release key operation is applicable to all key types. The target key must be marked exportable. This operation requires the keys/release permission. */\n release(\n keyName: string,\n keyVersion: string | undefined,\n parameters: KeyReleaseParameters,\n options: ReleaseOptionalParams = { requestOptions: {} },\n ): Promise<KeyReleaseResult> {\n return release(this._client, keyName, keyVersion, parameters, options);\n }\n\n /** Securely wraps a 256-bit AES key generated within a trusted execution environment using the target key encryption key. This operation requires the keys/wrapKey permission. */\n secureWrapKey(\n keyName: string,\n keyVersion: string | undefined,\n parameters: SecureKeyWrapParameters,\n options: SecureWrapKeyOptionalParams = { requestOptions: {} },\n ): Promise<KeyOperationResult> {\n return secureWrapKey(this._client, keyName, keyVersion, parameters, options);\n }\n\n /** Securely unwraps a symmetric key previously wrapped via {@link secureWrapKey}. The unwrap operation runs inside a trusted execution environment after attestation. This operation requires the keys/unwrapKey permission. */\n secureUnwrapKey(\n keyName: string,\n keyVersion: string | undefined,\n parameters: SecureKeyUnwrapParameters,\n options: SecureUnwrapKeyOptionalParams = { requestOptions: {} },\n ): Promise<KeyOperationResult> {\n return secureUnwrapKey(this._client, keyName, keyVersion, parameters, options);\n }\n\n /** The UNWRAP operation supports decryption of a symmetric key using the target key encryption key. This operation is the reverse of the WRAP operation. The UNWRAP operation applies to asymmetric and symmetric keys stored in Azure Key Vault since it uses the private portion of the key. This operation requires the keys/unwrapKey permission. */\n unwrapKey(\n keyName: string,\n keyVersion: string,\n parameters: KeyOperationsParameters,\n options: UnwrapKeyOptionalParams = { requestOptions: {} },\n ): Promise<KeyOperationResult> {\n return unwrapKey(this._client, keyName, keyVersion, parameters, options);\n }\n\n /** The WRAP operation supports encryption of a symmetric key using a key encryption key that has previously been stored in an Azure Key Vault. The WRAP operation is only strictly necessary for symmetric keys stored in Azure Key Vault since protection with an asymmetric key can be performed using the public portion of the key. This operation is supported for asymmetric keys as a convenience for callers that have a key-reference but do not have access to the public key material. This operation requires the keys/wrapKey permission. */\n wrapKey(\n keyName: string,\n keyVersion: string,\n parameters: KeyOperationsParameters,\n options: WrapKeyOptionalParams = { requestOptions: {} },\n ): Promise<KeyOperationResult> {\n return wrapKey(this._client, keyName, keyVersion, parameters, options);\n }\n\n /** The VERIFY operation is applicable to symmetric keys stored in Azure Key Vault. VERIFY is not strictly necessary for asymmetric keys stored in Azure Key Vault since signature verification can be performed using the public portion of the key but this operation is supported as a convenience for callers that only have a key-reference and not the public portion of the key. This operation requires the keys/verify permission. */\n verify(\n keyName: string,\n keyVersion: string,\n parameters: KeyVerifyParameters,\n options: VerifyOptionalParams = { requestOptions: {} },\n ): Promise<KeyVerifyResult> {\n return verify(this._client, keyName, keyVersion, parameters, options);\n }\n\n /** The SIGN operation is applicable to asymmetric and symmetric keys stored in Azure Key Vault since this operation uses the private portion of the key. This operation requires the keys/sign permission. */\n sign(\n keyName: string,\n keyVersion: string,\n parameters: KeySignParameters,\n options: SignOptionalParams = { requestOptions: {} },\n ): Promise<KeyOperationResult> {\n return sign(this._client, keyName, keyVersion, parameters, options);\n }\n\n /** The DECRYPT operation decrypts a well-formed block of ciphertext using the target encryption key and specified algorithm. This operation is the reverse of the ENCRYPT operation; only a single block of data may be decrypted, the size of this block is dependent on the target key and the algorithm to be used. The DECRYPT operation applies to asymmetric and symmetric keys stored in Azure Key Vault since it uses the private portion of the key. This operation requires the keys/decrypt permission. Microsoft recommends not to use CBC algorithms for decryption without first ensuring the integrity of the ciphertext using an HMAC, for example. See https://learn.microsoft.com/dotnet/standard/security/vulnerabilities-cbc-mode for more information. */\n decrypt(\n keyName: string,\n keyVersion: string,\n parameters: KeyOperationsParameters,\n options: DecryptOptionalParams = { requestOptions: {} },\n ): Promise<KeyOperationResult> {\n return decrypt(this._client, keyName, keyVersion, parameters, options);\n }\n\n /** The ENCRYPT operation encrypts an arbitrary sequence of bytes using an encryption key that is stored in Azure Key Vault. Note that the ENCRYPT operation only supports a single block of data, the size of which is dependent on the target key and the encryption algorithm to be used. The ENCRYPT operation is only strictly necessary for symmetric keys stored in Azure Key Vault since protection with an asymmetric key can be performed using public portion of the key. This operation is supported for asymmetric keys as a convenience for callers that have a key-reference but do not have access to the public key material. This operation requires the keys/encrypt permission. */\n encrypt(\n keyName: string,\n keyVersion: string,\n parameters: KeyOperationsParameters,\n options: EncryptOptionalParams = { requestOptions: {} },\n ): Promise<KeyOperationResult> {\n return encrypt(this._client, keyName, keyVersion, parameters, options);\n }\n\n /** Imports a previously backed up key into Azure Key Vault, restoring the key, its key identifier, attributes and access control policies. The RESTORE operation may be used to import a previously backed up key. Individual versions of a key cannot be restored. The key is restored in its entirety with the same key name as it had when it was backed up. If the key name is not available in the target Key Vault, the RESTORE operation will be rejected. While the key name is retained during restore, the final key identifier will change if the key is restored to a different vault. Restore will restore all versions and preserve version identifiers. The RESTORE operation is subject to security constraints: The target Key Vault must be owned by the same Microsoft Azure Subscription as the source Key Vault The user must have RESTORE permission in the target Key Vault. This operation requires the keys/restore permission. */\n restoreKey(\n parameters: KeyRestoreParameters,\n options: RestoreKeyOptionalParams = { requestOptions: {} },\n ): Promise<KeyBundle> {\n return restoreKey(this._client, parameters, options);\n }\n\n /** The Key Backup operation exports a key from Azure Key Vault in a protected form. Note that this operation does NOT return key material in a form that can be used outside the Azure Key Vault system, the returned key material is either protected to a Azure Key Vault HSM or to Azure Key Vault itself. The intent of this operation is to allow a client to GENERATE a key in one Azure Key Vault instance, BACKUP the key, and then RESTORE it into another Azure Key Vault instance. The BACKUP operation may be used to export, in protected form, any key type from Azure Key Vault. Individual versions of a key cannot be backed up. BACKUP / RESTORE can be performed within geographical boundaries only; meaning that a BACKUP from one geographical area cannot be restored to another geographical area. For example, a backup from the US geographical area cannot be restored in an EU geographical area. This operation requires the key/backup permission. */\n backupKey(\n keyName: string,\n options: BackupKeyOptionalParams = { requestOptions: {} },\n ): Promise<BackupKeyResult> {\n return backupKey(this._client, keyName, options);\n }\n\n /** Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier, attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. This operation requires the keys/list permission. */\n getKeys(\n options: GetKeysOptionalParams = { requestOptions: {} },\n ): PagedAsyncIterableIterator<KeyItem> {\n return getKeys(this._client, options);\n }\n\n /** The full key identifier, attributes, and tags are provided in the response. This operation requires the keys/list permission. */\n getKeyVersions(\n keyName: string,\n options: GetKeyVersionsOptionalParams = { requestOptions: {} },\n ): PagedAsyncIterableIterator<KeyItem> {\n return getKeyVersions(this._client, keyName, options);\n }\n\n /** The get key operation is applicable to all key types. If the requested key is symmetric, then no key material is released in the response. This operation requires the keys/get permission. */\n getKey(\n keyName: string,\n keyVersion: string,\n options: GetKeyOptionalParams = { requestOptions: {} },\n ): Promise<KeyBundle> {\n return getKey(this._client, keyName, keyVersion, options);\n }\n\n /** In order to perform this operation, the key must already exist in the Key Vault. Note: The cryptographic material of a key itself cannot be changed. This operation requires the keys/update permission. */\n updateKey(\n keyName: string,\n keyVersion: string,\n parameters: KeyUpdateParameters,\n options: UpdateKeyOptionalParams = { requestOptions: {} },\n ): Promise<KeyBundle> {\n return updateKey(this._client, keyName, keyVersion, parameters, options);\n }\n\n /** The delete key operation cannot be used to remove individual versions of a key. This operation removes the cryptographic material associated with the key, which means the key is not usable for Sign/Verify, Wrap/Unwrap or Encrypt/Decrypt operations. This operation requires the keys/delete permission. */\n deleteKey(\n keyName: string,\n options: DeleteKeyOptionalParams = { requestOptions: {} },\n ): Promise<DeletedKeyBundle> {\n return deleteKey(this._client, keyName, options);\n }\n\n /** The import key operation may be used to import any key type into an Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. This operation requires the keys/import permission. */\n importKey(\n keyName: string,\n parameters: KeyImportParameters,\n options: ImportKeyOptionalParams = { requestOptions: {} },\n ): Promise<KeyBundle> {\n return importKey(this._client, keyName, parameters, options);\n }\n\n /** The operation will rotate the key based on the key policy. It requires the keys/rotate permission. */\n rotateKey(\n keyName: string,\n options: RotateKeyOptionalParams = { requestOptions: {} },\n ): Promise<KeyBundle> {\n return rotateKey(this._client, keyName, options);\n }\n\n /** The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. It requires the keys/create permission. */\n createKey(\n keyName: string,\n parameters: KeyCreateParameters,\n options: CreateKeyOptionalParams = { requestOptions: {} },\n ): Promise<KeyBundle> {\n return createKey(this._client, keyName, parameters, options);\n }\n}\n"]}
@@ -7,7 +7,7 @@ export type { KeyType, KeyOperation };
7
7
  /**
8
8
  * The latest supported Key Vault service API version
9
9
  */
10
- export declare const LATEST_API_VERSION = "2025-07-01";
10
+ export declare const LATEST_API_VERSION = "2026-01-01-preview";
11
11
  /**
12
12
  * The optional parameters accepted by the KeyVault's KeyClient
13
13
  */
@@ -131,6 +131,17 @@ export interface KeyVaultKey {
131
131
  */
132
132
  properties: KeyProperties;
133
133
  }
134
+ /**
135
+ * An interface representing a reference to a key stored in an external key
136
+ * management system, used to create and manage external keys in Azure Key Vault.
137
+ */
138
+ export interface ExternalKey {
139
+ /**
140
+ * The external key identifier. The valid id can only contain characters in
141
+ * the set `[a-zA-Z0-9-]`. Maximum length is 64 characters.
142
+ */
143
+ id: string;
144
+ }
134
145
  /**
135
146
  * An interface representing the properties of a key's attestation
136
147
  */
@@ -244,6 +255,15 @@ export interface KeyProperties {
244
255
  * The key attestation, if available and requested.
245
256
  */
246
257
  attestation?: KeyAttestation;
258
+ /**
259
+ * The key information for a key backed by an external key management system.
260
+ */
261
+ externalKey?: ExternalKey;
262
+ /**
263
+ * The optional key size in bits for symmetric keys. For example: 128, 192, or 256 for AES keys.
264
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
265
+ */
266
+ readonly keySize?: number;
247
267
  }
248
268
  /**
249
269
  * An interface representing a deleted Key Vault Key.
@@ -582,6 +602,55 @@ export interface ReleaseKeyResult {
582
602
  /** A signed token containing the released key. */
583
603
  value: string;
584
604
  }
605
+ /**
606
+ * Options for {@link KeyClient.secureWrapKey}.
607
+ */
608
+ export interface SecureWrapKeyOptions extends coreClient.OperationOptions {
609
+ /**
610
+ * The version of the key to wrap with. Defaults to the latest version of the key if omitted.
611
+ */
612
+ version?: string;
613
+ }
614
+ /**
615
+ * Options for {@link KeyClient.secureUnwrapKey}.
616
+ */
617
+ export interface SecureUnwrapKeyOptions extends coreClient.OperationOptions {
618
+ /**
619
+ * The version of the key to unwrap with. Defaults to the latest version of the key if omitted.
620
+ */
621
+ version?: string;
622
+ }
623
+ /**
624
+ * The algorithms supported by the secure wrap and unwrap operations on
625
+ * {@link KeyClient}.
626
+ *
627
+ * Secure wrap/unwrap operations support a wider set of algorithms than the
628
+ * regular wrap/unwrap. The additional algorithms typically end with `KWPAD`
629
+ * (key-wrap with padding) or are prefixed with `CKM_` (PKCS#11 mechanisms).
630
+ */
631
+ export type SecureKeyWrapAlgorithm = "RSA-OAEP-256" | "A128KW" | "A192KW" | "A256KW" | "A128KWPAD" | "A192KWPAD" | "A256KWPAD" | "CKM_AES_KEY_WRAP" | "CKM_AES_KEY_WRAP_PAD";
632
+ /**
633
+ * Result of the {@link KeyClient.secureWrapKey} and
634
+ * {@link KeyClient.secureUnwrapKey} operations.
635
+ */
636
+ export interface SecureKeyOperationResult {
637
+ /**
638
+ * The ID of the Key Vault Key used for the operation.
639
+ */
640
+ keyID: string;
641
+ /**
642
+ * The algorithm used for the operation.
643
+ */
644
+ algorithm: SecureKeyWrapAlgorithm;
645
+ /**
646
+ * The result of the operation:
647
+ * - For {@link KeyClient.secureWrapKey}, this is the wrapped 256-bit AES
648
+ * key generated within the trusted execution environment (TEE).
649
+ * - For {@link KeyClient.secureUnwrapKey}, this is the unwrapped symmetric
650
+ * key.
651
+ */
652
+ result: Uint8Array;
653
+ }
585
654
  /** Known values of {@link KeyOperation} that the service accepts. */
586
655
  export declare enum KnownKeyOperations {
587
656
  /** Key operation - encrypt */
@@ -597,7 +666,11 @@ export declare enum KnownKeyOperations {
597
666
  /** Key operation - unwrapKey */
598
667
  UnwrapKey = "unwrapKey",
599
668
  /** Key operation - import */
600
- Import = "import"
669
+ Import = "import",
670
+ /** Key operation - secureWrapKey */
671
+ SecureWrapKey = "secureWrapKey",
672
+ /** Key operation - secureUnwrapKey */
673
+ SecureUnwrapKey = "secureUnwrapKey"
601
674
  }
602
675
  /**
603
676
  * Defines values for KeyEncryptionAlgorithm.
@@ -1 +1 @@
1
- {"version":3,"file":"keysModels.d.ts","sourceRoot":"","sources":["../../src/keysModels.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AAE1E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,KAAK,EACV,mBAAmB,IAAI,YAAY,EACnC,cAAc,IAAI,OAAO,EAC1B,MAAM,oBAAoB,CAAC;AAE5B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAElE,YAAY,EAAE,OAAO,EAAE,YAAY,EAAE,CAAC;AAEtC;;GAEG;AACH,eAAO,MAAM,kBAAkB,eAAe,CAAC;AAE/C;;GAEG;AACH,MAAM,WAAW,gBAAiB,SAAQ,2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AAE,MAAM,CAAC;IAE1B;;OAEG;IACH,MAAM,EAAE,uBAAuB,CAAC;CACjC;AAED;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE1D;;GAEG;AACH,MAAM,WAAW,8BAA+B,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAEtF;;GAEG;AACH,MAAM,WAAW,2BAA4B,SAAQ,UAAU,CAAC,gBAAgB;CAAG"}
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * The latest supported Key Vault service API version
5
5
  */
6
- export const LATEST_API_VERSION = "2025-07-01";
6
+ export const LATEST_API_VERSION = "2026-01-01-preview";
7
7
  /** Known values of {@link KeyOperation} that the service accepts. */
8
8
  export var KnownKeyOperations;
9
9
  (function (KnownKeyOperations) {
@@ -21,5 +21,9 @@ export var KnownKeyOperations;
21
21
  KnownKeyOperations["UnwrapKey"] = "unwrapKey";
22
22
  /** Key operation - import */
23
23
  KnownKeyOperations["Import"] = "import";
24
+ /** Key operation - secureWrapKey */
25
+ KnownKeyOperations["SecureWrapKey"] = "secureWrapKey";
26
+ /** Key operation - secureUnwrapKey */
27
+ KnownKeyOperations["SecureUnwrapKey"] = "secureUnwrapKey";
24
28
  })(KnownKeyOperations || (KnownKeyOperations = {}));
25
29
  //# sourceMappingURL=keysModels.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"keysModels.js","sourceRoot":"","sources":["../../src/keysModels.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAelC;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,YAAY,CAAC;AAulB/C,qEAAqE;AACrE,MAAM,CAAN,IAAY,kBAeX;AAfD,WAAY,kBAAkB;IAC5B,8BAA8B;IAC9B,yCAAmB,CAAA;IACnB,8BAA8B;IAC9B,yCAAmB,CAAA;IACnB,2BAA2B;IAC3B,mCAAa,CAAA;IACb,6BAA6B;IAC7B,uCAAiB,CAAA;IACjB,8BAA8B;IAC9B,yCAAmB,CAAA;IACnB,gCAAgC;IAChC,6CAAuB,CAAA;IACvB,6BAA6B;IAC7B,uCAAiB,CAAA;AACnB,CAAC,EAfW,kBAAkB,KAAlB,kBAAkB,QAe7B","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type * as coreClient from \"@azure-rest/core-client\";\nimport type { ExtendedCommonClientOptions } from \"@azure/keyvault-common\";\n\nimport type { DeletionRecoveryLevel } from \"./models/models.js\";\nimport type {\n JsonWebKeyOperation as KeyOperation,\n JsonWebKeyType as KeyType,\n} from \"./models/models.js\";\n\nimport type { KeyCurveName } from \"./cryptographyClientModels.js\";\n\nexport type { KeyType, KeyOperation };\n\n/**\n * The latest supported Key Vault service API version\n */\nexport const LATEST_API_VERSION = \"2025-07-01\";\n\n/**\n * The optional parameters accepted by the KeyVault's KeyClient\n */\nexport interface KeyClientOptions extends ExtendedCommonClientOptions {\n /**\n * The version of the KeyVault's service API to make calls against.\n */\n serviceVersion?: string;\n\n /**\n * Whether to disable verification that the authentication challenge resource matches the Key Vault or Managed HSM domain.\n * Defaults to false.\n */\n disableChallengeResourceVerification?: boolean;\n}\n\n/**\n * The optional parameters accepted by the KeyVault's CryptographyClient\n */\nexport interface CryptographyClientOptions extends KeyClientOptions {}\n\n/**\n * As of http://tools.ietf.org/html/draft-ietf-jose-json-web-key-18\n */\nexport interface JsonWebKey {\n /**\n * Key identifier.\n */\n kid?: string;\n /**\n * JsonWebKey Key Type (kty), as defined in\n * https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40. Possible values include:\n * 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct', \"oct-HSM\"\n */\n kty?: KeyType;\n /**\n * Json web key operations. For more\n * information on possible key operations, see KeyOperation.\n */\n keyOps?: KeyOperation[];\n /**\n * RSA modulus.\n */\n n?: Uint8Array;\n /**\n * RSA public exponent.\n */\n e?: Uint8Array;\n /**\n * RSA private exponent, or the D component of an EC private key.\n */\n d?: Uint8Array;\n /**\n * RSA private key parameter.\n */\n dp?: Uint8Array;\n /**\n * RSA private key parameter.\n */\n dq?: Uint8Array;\n /**\n * RSA private key parameter.\n */\n qi?: Uint8Array;\n /**\n * RSA secret prime.\n */\n p?: Uint8Array;\n /**\n * RSA secret prime, with `p < q`.\n */\n q?: Uint8Array;\n /**\n * Symmetric key.\n */\n k?: Uint8Array;\n /**\n * HSM Token, used with 'Bring Your Own Key'.\n */\n t?: Uint8Array;\n /**\n * Elliptic curve name. For valid values, see KeyCurveName. Possible values include:\n * 'P-256', 'P-384', 'P-521', 'P-256K'\n */\n crv?: KeyCurveName;\n /**\n * X component of an EC public key.\n */\n x?: Uint8Array;\n /**\n * Y component of an EC public key.\n */\n y?: Uint8Array;\n}\n\n/**\n * An interface representing a Key Vault Key, with its name, value and {@link KeyProperties}.\n */\nexport interface KeyVaultKey {\n /**\n * The key value.\n */\n key?: JsonWebKey;\n /**\n * The name of the key.\n */\n name: string;\n /**\n * Key identifier.\n */\n id?: string;\n /**\n * JsonWebKey Key Type (kty), as defined in\n * https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40. Possible values include:\n * 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct', \"oct-HSM\"\n */\n keyType?: KeyType;\n /**\n * Operations allowed on this key\n */\n keyOperations?: KeyOperation[];\n /**\n * The properties of the key.\n */\n properties: KeyProperties;\n}\n\n/**\n * An interface representing the properties of a key's attestation\n */\nexport interface KeyAttestation {\n /**\n * The certificate used for attestation validation, in PEM format.\n */\n certificatePemFile?: Uint8Array;\n /**\n * The key attestation corresponding to the private key material of the key.\n */\n privateKeyAttestation?: Uint8Array;\n /**\n * The key attestation corresponding to the public key material of the key.\n */\n publicKeyAttestation?: Uint8Array;\n /**\n * The version of the attestation.\n */\n version?: string;\n}\n\n/**\n * An interface representing the Properties of {@link KeyVaultKey}\n */\nexport interface KeyProperties {\n /**\n * Key identifier.\n */\n id?: string;\n /**\n * The name of the key.\n */\n name: string;\n /**\n * The vault URI.\n */\n vaultUrl: string;\n /**\n * The version of the key. May be undefined.\n */\n version?: string;\n /**\n * Determines whether the object is enabled.\n */\n enabled?: boolean;\n /**\n * Not before date in UTC.\n */\n notBefore?: Date;\n /**\n * Expiry date in UTC.\n */\n expiresOn?: Date;\n /**\n * Application specific metadata in the form of key-value pairs.\n */\n tags?: { [propertyName: string]: string };\n /**\n * Creation time in UTC.\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n */\n readonly createdOn?: Date;\n /**\n * Last updated time in UTC.\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n */\n readonly updatedOn?: Date;\n /**\n * Reflects the deletion recovery level currently in effect for keys in the current vault.\n * If it contains 'Purgeable' the key can be permanently deleted by a privileged\n * user; otherwise, only the system can purge the key, at the end of the\n * retention interval. Possible values include: 'Purgeable',\n * 'Recoverable+Purgeable', 'Recoverable',\n * 'Recoverable+ProtectedSubscription'\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n */\n readonly recoveryLevel?: DeletionRecoveryLevel;\n /**\n * The retention dates of the softDelete data.\n * The value should be `>=7` and `<=90` when softDelete enabled.\n * **NOTE: This property will not be serialized. It can only be populated by the server.**\n */\n recoverableDays?: number;\n\n /**\n * True if the secret's lifetime is managed by\n * key vault. If this is a secret backing a certificate, then managed will be\n * true.\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n */\n readonly managed?: boolean;\n\n /**\n * Indicates whether the private key can be exported.\n */\n exportable?: boolean;\n\n /**\n * A {@link KeyReleasePolicy} object specifying the rules under which the key can be exported.\n */\n releasePolicy?: KeyReleasePolicy;\n\n /**\n * The underlying HSM Platform.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly hsmPlatform?: string;\n\n /**\n * The key attestation, if available and requested.\n */\n attestation?: KeyAttestation;\n}\n\n/**\n * An interface representing a deleted Key Vault Key.\n */\nexport interface DeletedKey {\n /**\n * The key value.\n */\n key?: JsonWebKey;\n /**\n * The name of the key.\n */\n name: string;\n /**\n * Key identifier.\n */\n id?: string;\n /**\n * JsonWebKey Key Type (kty), as defined in\n * https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40. Possible values include:\n * 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct', \"oct-HSM\"\n */\n keyType?: KeyType;\n /**\n * Operations allowed on this key\n */\n keyOperations?: KeyOperation[];\n /**\n * The properties of the key.\n */\n properties: KeyProperties & {\n /**\n * The url of the recovery object, used to\n * identify and recover the deleted key.\n */\n readonly recoveryId?: string;\n /**\n * The time when the key is scheduled to be purged, in UTC\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n */\n readonly scheduledPurgeDate?: Date;\n /**\n * The time when the key was deleted, in UTC\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n */\n deletedOn?: Date;\n };\n}\n\n/**\n * The policy rules under which a key can be exported.\n */\nexport interface KeyReleasePolicy {\n /**\n * Content type and version of key release policy.\n *\n * Defaults to \"application/json; charset=utf-8\" if omitted.\n */\n contentType?: string;\n\n /**\n * The policy rules under which the key can be released. Encoded based on the {@link KeyReleasePolicy.contentType}.\n *\n * For more information regarding the release policy grammar for Azure Key Vault, please refer to:\n * - https://aka.ms/policygrammarkeys for Azure Key Vault release policy grammar.\n * - https://aka.ms/policygrammarmhsm for Azure Managed HSM release policy grammar.\n */\n encodedPolicy?: Uint8Array;\n\n /** Marks a release policy as immutable. An immutable release policy cannot be changed or updated after being marked immutable. */\n immutable?: boolean;\n}\n\n/**\n * An interface representing the optional parameters that can be\n * passed to {@link createKey}\n */\nexport interface CreateKeyOptions extends coreClient.OperationOptions {\n /**\n * Application specific metadata in the form of key-value pairs.\n */\n tags?: { [propertyName: string]: string };\n /**\n * Json web key operations. For more\n * information on possible key operations, see KeyOperation.\n */\n keyOps?: KeyOperation[];\n /**\n * Determines whether the object is enabled.\n */\n enabled?: boolean;\n /**\n * Not before date in UTC.\n */\n notBefore?: Date;\n /**\n * Expiry date in UTC.\n */\n readonly expiresOn?: Date;\n /**\n * The key size in bits. For example: 2048, 3072, or 4096 for RSA.\n */\n keySize?: number;\n /**\n * Elliptic curve name. For valid values, see KeyCurveName.\n * Possible values include: 'P-256', 'P-384', 'P-521', 'P-256K'\n */\n curve?: KeyCurveName;\n /**\n * Whether to import as a hardware key (HSM) or software key.\n */\n hsm?: boolean;\n\n /**\n * Indicates whether the private key can be exported.\n */\n exportable?: boolean;\n\n /**\n * A {@link KeyReleasePolicy} object specifying the rules under which the key can be exported.\n */\n releasePolicy?: KeyReleasePolicy;\n}\n\n/**\n * An interface representing the optional parameters that can be\n * passed to {@link beginDeleteKey} and {@link beginRecoverDeletedKey}\n */\nexport interface KeyPollerOptions extends coreClient.OperationOptions {\n /**\n * Time between each polling\n */\n intervalInMs?: number;\n /**\n * A serialized poller, used to resume an existing operation\n */\n resumeFrom?: string;\n}\n\n/**\n * An interface representing the optional parameters that can be\n * passed to {@link beginDeleteKey}\n */\nexport interface BeginDeleteKeyOptions extends KeyPollerOptions {}\n\n/**\n * An interface representing the optional parameters that can be\n * passed to {@link beginRecoverDeletedKey}\n */\nexport interface BeginRecoverDeletedKeyOptions extends KeyPollerOptions {}\n\n/**\n * An interface representing the optional parameters that can be\n * passed to {@link createEcKey}\n */\nexport interface CreateEcKeyOptions extends CreateKeyOptions {}\n\n/**\n * An interface representing the optional parameters that can be\n * passed to {@link createRsaKey}\n */\nexport interface CreateRsaKeyOptions extends CreateKeyOptions {\n /** The public exponent for a RSA key. */\n publicExponent?: number;\n}\n\n/**\n * An interface representing the optional parameters that can be\n * passed to {@link createOctKey}\n */\nexport interface CreateOctKeyOptions extends CreateKeyOptions {}\n\n/**\n * An interface representing the optional parameters that can be\n * passed to {@link importKey}\n */\nexport interface ImportKeyOptions extends coreClient.OperationOptions {\n /**\n * Application specific metadata in the form of key-value pairs.\n */\n tags?: { [propertyName: string]: string };\n /**\n * Whether to import as a hardware key (HSM) or software key.\n */\n hardwareProtected?: boolean;\n /**\n * Determines whether the object is enabled.\n */\n enabled?: boolean;\n /**\n * Not before date in UTC.\n */\n notBefore?: Date;\n /**\n * Expiry date in UTC.\n */\n expiresOn?: Date;\n\n /**\n * Indicates whether the private key can be exported.\n */\n exportable?: boolean;\n\n /**\n * A {@link KeyReleasePolicy} object specifying the rules under which the key can be exported.\n */\n releasePolicy?: KeyReleasePolicy;\n}\n\n/**\n * Options for {@link updateKeyProperties}.\n */\nexport interface UpdateKeyPropertiesOptions extends coreClient.OperationOptions {\n /**\n * Json web key operations. For more\n * information on possible key operations, see KeyOperation.\n */\n keyOps?: KeyOperation[];\n /**\n * Determines whether the object is enabled.\n */\n enabled?: boolean;\n /**\n * Not before date in UTC.\n */\n notBefore?: Date;\n /**\n * Expiry date in UTC.\n */\n expiresOn?: Date;\n /**\n * Application specific metadata in the form of key-value pairs.\n */\n tags?: { [propertyName: string]: string };\n\n /**\n * A {@link KeyReleasePolicy} object specifying the rules under which the key can be exported.\n * Only valid if the key is marked exportable, which cannot be changed after key creation.\n */\n releasePolicy?: KeyReleasePolicy;\n}\n\n/**\n * Options for {@link getKey}.\n */\nexport interface GetKeyOptions extends coreClient.OperationOptions {\n /**\n * The version of the secret to retrieve. If not\n * specified the latest version of the secret will be retrieved.\n */\n version?: string;\n}\n\n/**\n * Options for {@link getKeyAttestation}.\n */\nexport interface GetKeyAttestationOptions extends coreClient.OperationOptions {\n /**\n * The version of the key to retrieve the attestation for. If not\n * specified the latest version of the key will be retrieved.\n */\n version?: string;\n}\n\n/**\n * An interface representing optional parameters for KeyClient paged operations passed to {@link listKeys}.\n */\nexport interface ListKeysOptions extends coreClient.OperationOptions {}\n\n/**\n * An interface representing optional parameters for KeyClient paged operations passed to {@link listPropertiesOfKeys}.\n */\nexport interface ListPropertiesOfKeysOptions extends coreClient.OperationOptions {}\n\n/**\n * An interface representing optional parameters for KeyClient paged operations passed to {@link listPropertiesOfKeyVersions}.\n */\nexport interface ListPropertiesOfKeyVersionsOptions extends coreClient.OperationOptions {}\n\n/**\n * An interface representing optional parameters for KeyClient paged operations passed to {@link listDeletedKeys}.\n */\nexport interface ListDeletedKeysOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link getDeletedKey}.\n */\nexport interface GetDeletedKeyOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link purgeDeletedKey}.\n */\nexport interface PurgeDeletedKeyOptions extends coreClient.OperationOptions {}\n\n/**\n * @internal\n * Options for {@link recoverDeletedKey}.\n */\nexport interface RecoverDeletedKeyOptions extends coreClient.OperationOptions {}\n\n/**\n * @internal\n * Options for {@link deleteKey}.\n */\nexport interface DeleteKeyOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link backupKey}.\n */\nexport interface BackupKeyOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link restoreKeyBackup}.\n */\nexport interface RestoreKeyBackupOptions extends coreClient.OperationOptions {}\n\n/**\n * An interface representing the options of the cryptography API methods, go to the {@link CryptographyClient} for more information.\n */\nexport interface CryptographyOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link KeyClient.getRandomBytes}\n */\nexport interface GetRandomBytesOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link KeyClient.releaseKey}\n */\nexport interface ReleaseKeyOptions extends coreClient.OperationOptions {\n /** A client provided nonce for freshness. */\n nonce?: string;\n\n /** The {@link KeyExportEncryptionAlgorithm} to for protecting the exported key material. */\n algorithm?: KeyExportEncryptionAlgorithm;\n\n /**\n * The version of the key to release. Defaults to the latest version of the key if omitted.\n */\n version?: string;\n}\n\n/**\n * Result of the {@link KeyClient.releaseKey} operation.\n */\nexport interface ReleaseKeyResult {\n /** A signed token containing the released key. */\n value: string;\n}\n\n/** Known values of {@link KeyOperation} that the service accepts. */\nexport enum KnownKeyOperations {\n /** Key operation - encrypt */\n Encrypt = \"encrypt\",\n /** Key operation - decrypt */\n Decrypt = \"decrypt\",\n /** Key operation - sign */\n Sign = \"sign\",\n /** Key operation - verify */\n Verify = \"verify\",\n /** Key operation - wrapKey */\n WrapKey = \"wrapKey\",\n /** Key operation - unwrapKey */\n UnwrapKey = \"unwrapKey\",\n /** Key operation - import */\n Import = \"import\",\n}\n\n/* eslint-disable tsdoc/syntax */\n/**\n * Defines values for KeyEncryptionAlgorithm.\n * {@link KnownKeyExportEncryptionAlgorithm} can be used interchangeably with KeyEncryptionAlgorithm,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **CKM_RSA_AES_KEY_WRAP** \\\n * **RSA_AES_KEY_WRAP_256** \\\n * **RSA_AES_KEY_WRAP_384**\n */\nexport type KeyExportEncryptionAlgorithm = string;\n/* eslint-enable tsdoc/syntax */\n\n/**\n * Options for {@link KeyClient.getCryptographyClient}.\n */\nexport interface GetCryptographyClientOptions {\n /**\n * The version of the key to use for cryptographic operations.\n *\n * When undefined, the latest version of the key will be used.\n */\n keyVersion?: string;\n}\n\n/**\n * Options for {@link KeyClient.rotateKey}\n */\nexport interface RotateKeyOptions extends coreClient.OperationOptions {}\n\n/**\n * The properties of a key rotation policy that the client can set for a given key.\n *\n * You may also reset the key rotation policy to its default values by setting lifetimeActions to an empty array.\n */\nexport interface KeyRotationPolicyProperties {\n /**\n * Optional key expiration period used to define the duration after which a newly rotated key will expire, defined as an ISO 8601 duration.\n */\n expiresIn?: string;\n\n /**\n * Actions that will be performed by Key Vault over the lifetime of a key.\n *\n * You may also pass an empty array to restore to its default values.\n */\n lifetimeActions?: KeyRotationLifetimeAction[];\n}\n\n/**\n * The complete key rotation policy that belongs to a key.\n */\nexport interface KeyRotationPolicy extends KeyRotationPolicyProperties {\n /**\n * The identifier of the Key Rotation Policy.\n * May be undefined if a policy has not been explicitly set.\n */\n readonly id?: string;\n\n /**\n * The created time in UTC.\n * May be undefined if a policy has not been explicitly set.\n */\n readonly createdOn?: Date;\n\n /**\n * The last updated time in UTC.\n * May be undefined if a policy has not been explicitly set.\n */\n readonly updatedOn?: Date;\n}\n\n/**\n * An action and its corresponding trigger that will be performed by Key Vault over the lifetime of a key.\n */\nexport interface KeyRotationLifetimeAction {\n /**\n * Time after creation to attempt the specified action, defined as an ISO 8601 duration.\n */\n timeAfterCreate?: string;\n\n /**\n * Time before expiry to attempt the specified action, defined as an ISO 8601 duration.\n */\n timeBeforeExpiry?: string;\n\n /**\n * The action that will be executed.\n */\n action: KeyRotationPolicyAction;\n}\n\n/**\n * The action that will be executed.\n */\nexport type KeyRotationPolicyAction = \"Rotate\" | \"Notify\";\n\n/**\n * Options for {@link KeyClient.updateKeyRotationPolicy}\n */\nexport interface UpdateKeyRotationPolicyOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link KeyClient.getRotationPolicy}\n */\nexport interface GetKeyRotationPolicyOptions extends coreClient.OperationOptions {}\n"]}
1
+ {"version":3,"file":"keysModels.js","sourceRoot":"","sources":["../../src/keysModels.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAelC;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,oBAAoB,CAAC;AA4qBvD,qEAAqE;AACrE,MAAM,CAAN,IAAY,kBAmBX;AAnBD,WAAY,kBAAkB;IAC5B,8BAA8B;IAC9B,yCAAmB,CAAA;IACnB,8BAA8B;IAC9B,yCAAmB,CAAA;IACnB,2BAA2B;IAC3B,mCAAa,CAAA;IACb,6BAA6B;IAC7B,uCAAiB,CAAA;IACjB,8BAA8B;IAC9B,yCAAmB,CAAA;IACnB,gCAAgC;IAChC,6CAAuB,CAAA;IACvB,6BAA6B;IAC7B,uCAAiB,CAAA;IACjB,oCAAoC;IACpC,qDAA+B,CAAA;IAC/B,sCAAsC;IACtC,yDAAmC,CAAA;AACrC,CAAC,EAnBW,kBAAkB,KAAlB,kBAAkB,QAmB7B","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type * as coreClient from \"@azure-rest/core-client\";\nimport type { ExtendedCommonClientOptions } from \"@azure/keyvault-common\";\n\nimport type { DeletionRecoveryLevel } from \"./models/models.js\";\nimport type {\n JsonWebKeyOperation as KeyOperation,\n JsonWebKeyType as KeyType,\n} from \"./models/models.js\";\n\nimport type { KeyCurveName } from \"./cryptographyClientModels.js\";\n\nexport type { KeyType, KeyOperation };\n\n/**\n * The latest supported Key Vault service API version\n */\nexport const LATEST_API_VERSION = \"2026-01-01-preview\";\n\n/**\n * The optional parameters accepted by the KeyVault's KeyClient\n */\nexport interface KeyClientOptions extends ExtendedCommonClientOptions {\n /**\n * The version of the KeyVault's service API to make calls against.\n */\n serviceVersion?: string;\n\n /**\n * Whether to disable verification that the authentication challenge resource matches the Key Vault or Managed HSM domain.\n * Defaults to false.\n */\n disableChallengeResourceVerification?: boolean;\n}\n\n/**\n * The optional parameters accepted by the KeyVault's CryptographyClient\n */\nexport interface CryptographyClientOptions extends KeyClientOptions {}\n\n/**\n * As of http://tools.ietf.org/html/draft-ietf-jose-json-web-key-18\n */\nexport interface JsonWebKey {\n /**\n * Key identifier.\n */\n kid?: string;\n /**\n * JsonWebKey Key Type (kty), as defined in\n * https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40. Possible values include:\n * 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct', \"oct-HSM\"\n */\n kty?: KeyType;\n /**\n * Json web key operations. For more\n * information on possible key operations, see KeyOperation.\n */\n keyOps?: KeyOperation[];\n /**\n * RSA modulus.\n */\n n?: Uint8Array;\n /**\n * RSA public exponent.\n */\n e?: Uint8Array;\n /**\n * RSA private exponent, or the D component of an EC private key.\n */\n d?: Uint8Array;\n /**\n * RSA private key parameter.\n */\n dp?: Uint8Array;\n /**\n * RSA private key parameter.\n */\n dq?: Uint8Array;\n /**\n * RSA private key parameter.\n */\n qi?: Uint8Array;\n /**\n * RSA secret prime.\n */\n p?: Uint8Array;\n /**\n * RSA secret prime, with `p < q`.\n */\n q?: Uint8Array;\n /**\n * Symmetric key.\n */\n k?: Uint8Array;\n /**\n * HSM Token, used with 'Bring Your Own Key'.\n */\n t?: Uint8Array;\n /**\n * Elliptic curve name. For valid values, see KeyCurveName. Possible values include:\n * 'P-256', 'P-384', 'P-521', 'P-256K'\n */\n crv?: KeyCurveName;\n /**\n * X component of an EC public key.\n */\n x?: Uint8Array;\n /**\n * Y component of an EC public key.\n */\n y?: Uint8Array;\n}\n\n/**\n * An interface representing a Key Vault Key, with its name, value and {@link KeyProperties}.\n */\nexport interface KeyVaultKey {\n /**\n * The key value.\n */\n key?: JsonWebKey;\n /**\n * The name of the key.\n */\n name: string;\n /**\n * Key identifier.\n */\n id?: string;\n /**\n * JsonWebKey Key Type (kty), as defined in\n * https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40. Possible values include:\n * 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct', \"oct-HSM\"\n */\n keyType?: KeyType;\n /**\n * Operations allowed on this key\n */\n keyOperations?: KeyOperation[];\n /**\n * The properties of the key.\n */\n properties: KeyProperties;\n}\n\n/**\n * An interface representing a reference to a key stored in an external key\n * management system, used to create and manage external keys in Azure Key Vault.\n */\nexport interface ExternalKey {\n /**\n * The external key identifier. The valid id can only contain characters in\n * the set `[a-zA-Z0-9-]`. Maximum length is 64 characters.\n */\n id: string;\n}\n\n/**\n * An interface representing the properties of a key's attestation\n */\nexport interface KeyAttestation {\n /**\n * The certificate used for attestation validation, in PEM format.\n */\n certificatePemFile?: Uint8Array;\n /**\n * The key attestation corresponding to the private key material of the key.\n */\n privateKeyAttestation?: Uint8Array;\n /**\n * The key attestation corresponding to the public key material of the key.\n */\n publicKeyAttestation?: Uint8Array;\n /**\n * The version of the attestation.\n */\n version?: string;\n}\n\n/**\n * An interface representing the Properties of {@link KeyVaultKey}\n */\nexport interface KeyProperties {\n /**\n * Key identifier.\n */\n id?: string;\n /**\n * The name of the key.\n */\n name: string;\n /**\n * The vault URI.\n */\n vaultUrl: string;\n /**\n * The version of the key. May be undefined.\n */\n version?: string;\n /**\n * Determines whether the object is enabled.\n */\n enabled?: boolean;\n /**\n * Not before date in UTC.\n */\n notBefore?: Date;\n /**\n * Expiry date in UTC.\n */\n expiresOn?: Date;\n /**\n * Application specific metadata in the form of key-value pairs.\n */\n tags?: { [propertyName: string]: string };\n /**\n * Creation time in UTC.\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n */\n readonly createdOn?: Date;\n /**\n * Last updated time in UTC.\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n */\n readonly updatedOn?: Date;\n /**\n * Reflects the deletion recovery level currently in effect for keys in the current vault.\n * If it contains 'Purgeable' the key can be permanently deleted by a privileged\n * user; otherwise, only the system can purge the key, at the end of the\n * retention interval. Possible values include: 'Purgeable',\n * 'Recoverable+Purgeable', 'Recoverable',\n * 'Recoverable+ProtectedSubscription'\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n */\n readonly recoveryLevel?: DeletionRecoveryLevel;\n /**\n * The retention dates of the softDelete data.\n * The value should be `>=7` and `<=90` when softDelete enabled.\n * **NOTE: This property will not be serialized. It can only be populated by the server.**\n */\n recoverableDays?: number;\n\n /**\n * True if the secret's lifetime is managed by\n * key vault. If this is a secret backing a certificate, then managed will be\n * true.\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n */\n readonly managed?: boolean;\n\n /**\n * Indicates whether the private key can be exported.\n */\n exportable?: boolean;\n\n /**\n * A {@link KeyReleasePolicy} object specifying the rules under which the key can be exported.\n */\n releasePolicy?: KeyReleasePolicy;\n\n /**\n * The underlying HSM Platform.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly hsmPlatform?: string;\n\n /**\n * The key attestation, if available and requested.\n */\n attestation?: KeyAttestation;\n\n /**\n * The key information for a key backed by an external key management system.\n */\n externalKey?: ExternalKey;\n\n /**\n * The optional key size in bits for symmetric keys. For example: 128, 192, or 256 for AES keys.\n * **NOTE: This property will not be serialized. It can only be populated by the server.**\n */\n readonly keySize?: number;\n}\n\n/**\n * An interface representing a deleted Key Vault Key.\n */\nexport interface DeletedKey {\n /**\n * The key value.\n */\n key?: JsonWebKey;\n /**\n * The name of the key.\n */\n name: string;\n /**\n * Key identifier.\n */\n id?: string;\n /**\n * JsonWebKey Key Type (kty), as defined in\n * https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40. Possible values include:\n * 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct', \"oct-HSM\"\n */\n keyType?: KeyType;\n /**\n * Operations allowed on this key\n */\n keyOperations?: KeyOperation[];\n /**\n * The properties of the key.\n */\n properties: KeyProperties & {\n /**\n * The url of the recovery object, used to\n * identify and recover the deleted key.\n */\n readonly recoveryId?: string;\n /**\n * The time when the key is scheduled to be purged, in UTC\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n */\n readonly scheduledPurgeDate?: Date;\n /**\n * The time when the key was deleted, in UTC\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n */\n deletedOn?: Date;\n };\n}\n\n/**\n * The policy rules under which a key can be exported.\n */\nexport interface KeyReleasePolicy {\n /**\n * Content type and version of key release policy.\n *\n * Defaults to \"application/json; charset=utf-8\" if omitted.\n */\n contentType?: string;\n\n /**\n * The policy rules under which the key can be released. Encoded based on the {@link KeyReleasePolicy.contentType}.\n *\n * For more information regarding the release policy grammar for Azure Key Vault, please refer to:\n * - https://aka.ms/policygrammarkeys for Azure Key Vault release policy grammar.\n * - https://aka.ms/policygrammarmhsm for Azure Managed HSM release policy grammar.\n */\n encodedPolicy?: Uint8Array;\n\n /** Marks a release policy as immutable. An immutable release policy cannot be changed or updated after being marked immutable. */\n immutable?: boolean;\n}\n\n/**\n * An interface representing the optional parameters that can be\n * passed to {@link createKey}\n */\nexport interface CreateKeyOptions extends coreClient.OperationOptions {\n /**\n * Application specific metadata in the form of key-value pairs.\n */\n tags?: { [propertyName: string]: string };\n /**\n * Json web key operations. For more\n * information on possible key operations, see KeyOperation.\n */\n keyOps?: KeyOperation[];\n /**\n * Determines whether the object is enabled.\n */\n enabled?: boolean;\n /**\n * Not before date in UTC.\n */\n notBefore?: Date;\n /**\n * Expiry date in UTC.\n */\n readonly expiresOn?: Date;\n /**\n * The key size in bits. For example: 2048, 3072, or 4096 for RSA.\n */\n keySize?: number;\n /**\n * Elliptic curve name. For valid values, see KeyCurveName.\n * Possible values include: 'P-256', 'P-384', 'P-521', 'P-256K'\n */\n curve?: KeyCurveName;\n /**\n * Whether to import as a hardware key (HSM) or software key.\n */\n hsm?: boolean;\n\n /**\n * Indicates whether the private key can be exported.\n */\n exportable?: boolean;\n\n /**\n * A {@link KeyReleasePolicy} object specifying the rules under which the key can be exported.\n */\n releasePolicy?: KeyReleasePolicy;\n}\n\n/**\n * An interface representing the optional parameters that can be\n * passed to {@link beginDeleteKey} and {@link beginRecoverDeletedKey}\n */\nexport interface KeyPollerOptions extends coreClient.OperationOptions {\n /**\n * Time between each polling\n */\n intervalInMs?: number;\n /**\n * A serialized poller, used to resume an existing operation\n */\n resumeFrom?: string;\n}\n\n/**\n * An interface representing the optional parameters that can be\n * passed to {@link beginDeleteKey}\n */\nexport interface BeginDeleteKeyOptions extends KeyPollerOptions {}\n\n/**\n * An interface representing the optional parameters that can be\n * passed to {@link beginRecoverDeletedKey}\n */\nexport interface BeginRecoverDeletedKeyOptions extends KeyPollerOptions {}\n\n/**\n * An interface representing the optional parameters that can be\n * passed to {@link createEcKey}\n */\nexport interface CreateEcKeyOptions extends CreateKeyOptions {}\n\n/**\n * An interface representing the optional parameters that can be\n * passed to {@link createRsaKey}\n */\nexport interface CreateRsaKeyOptions extends CreateKeyOptions {\n /** The public exponent for a RSA key. */\n publicExponent?: number;\n}\n\n/**\n * An interface representing the optional parameters that can be\n * passed to {@link createOctKey}\n */\nexport interface CreateOctKeyOptions extends CreateKeyOptions {}\n\n/**\n * An interface representing the optional parameters that can be\n * passed to {@link importKey}\n */\nexport interface ImportKeyOptions extends coreClient.OperationOptions {\n /**\n * Application specific metadata in the form of key-value pairs.\n */\n tags?: { [propertyName: string]: string };\n /**\n * Whether to import as a hardware key (HSM) or software key.\n */\n hardwareProtected?: boolean;\n /**\n * Determines whether the object is enabled.\n */\n enabled?: boolean;\n /**\n * Not before date in UTC.\n */\n notBefore?: Date;\n /**\n * Expiry date in UTC.\n */\n expiresOn?: Date;\n\n /**\n * Indicates whether the private key can be exported.\n */\n exportable?: boolean;\n\n /**\n * A {@link KeyReleasePolicy} object specifying the rules under which the key can be exported.\n */\n releasePolicy?: KeyReleasePolicy;\n}\n\n/**\n * Options for {@link updateKeyProperties}.\n */\nexport interface UpdateKeyPropertiesOptions extends coreClient.OperationOptions {\n /**\n * Json web key operations. For more\n * information on possible key operations, see KeyOperation.\n */\n keyOps?: KeyOperation[];\n /**\n * Determines whether the object is enabled.\n */\n enabled?: boolean;\n /**\n * Not before date in UTC.\n */\n notBefore?: Date;\n /**\n * Expiry date in UTC.\n */\n expiresOn?: Date;\n /**\n * Application specific metadata in the form of key-value pairs.\n */\n tags?: { [propertyName: string]: string };\n\n /**\n * A {@link KeyReleasePolicy} object specifying the rules under which the key can be exported.\n * Only valid if the key is marked exportable, which cannot be changed after key creation.\n */\n releasePolicy?: KeyReleasePolicy;\n}\n\n/**\n * Options for {@link getKey}.\n */\nexport interface GetKeyOptions extends coreClient.OperationOptions {\n /**\n * The version of the secret to retrieve. If not\n * specified the latest version of the secret will be retrieved.\n */\n version?: string;\n}\n\n/**\n * Options for {@link getKeyAttestation}.\n */\nexport interface GetKeyAttestationOptions extends coreClient.OperationOptions {\n /**\n * The version of the key to retrieve the attestation for. If not\n * specified the latest version of the key will be retrieved.\n */\n version?: string;\n}\n\n/**\n * An interface representing optional parameters for KeyClient paged operations passed to {@link listKeys}.\n */\nexport interface ListKeysOptions extends coreClient.OperationOptions {}\n\n/**\n * An interface representing optional parameters for KeyClient paged operations passed to {@link listPropertiesOfKeys}.\n */\nexport interface ListPropertiesOfKeysOptions extends coreClient.OperationOptions {}\n\n/**\n * An interface representing optional parameters for KeyClient paged operations passed to {@link listPropertiesOfKeyVersions}.\n */\nexport interface ListPropertiesOfKeyVersionsOptions extends coreClient.OperationOptions {}\n\n/**\n * An interface representing optional parameters for KeyClient paged operations passed to {@link listDeletedKeys}.\n */\nexport interface ListDeletedKeysOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link getDeletedKey}.\n */\nexport interface GetDeletedKeyOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link purgeDeletedKey}.\n */\nexport interface PurgeDeletedKeyOptions extends coreClient.OperationOptions {}\n\n/**\n * @internal\n * Options for {@link recoverDeletedKey}.\n */\nexport interface RecoverDeletedKeyOptions extends coreClient.OperationOptions {}\n\n/**\n * @internal\n * Options for {@link deleteKey}.\n */\nexport interface DeleteKeyOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link backupKey}.\n */\nexport interface BackupKeyOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link restoreKeyBackup}.\n */\nexport interface RestoreKeyBackupOptions extends coreClient.OperationOptions {}\n\n/**\n * An interface representing the options of the cryptography API methods, go to the {@link CryptographyClient} for more information.\n */\nexport interface CryptographyOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link KeyClient.getRandomBytes}\n */\nexport interface GetRandomBytesOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link KeyClient.releaseKey}\n */\nexport interface ReleaseKeyOptions extends coreClient.OperationOptions {\n /** A client provided nonce for freshness. */\n nonce?: string;\n\n /** The {@link KeyExportEncryptionAlgorithm} to for protecting the exported key material. */\n algorithm?: KeyExportEncryptionAlgorithm;\n\n /**\n * The version of the key to release. Defaults to the latest version of the key if omitted.\n */\n version?: string;\n}\n\n/**\n * Result of the {@link KeyClient.releaseKey} operation.\n */\nexport interface ReleaseKeyResult {\n /** A signed token containing the released key. */\n value: string;\n}\n\n/**\n * Options for {@link KeyClient.secureWrapKey}.\n */\nexport interface SecureWrapKeyOptions extends coreClient.OperationOptions {\n /**\n * The version of the key to wrap with. Defaults to the latest version of the key if omitted.\n */\n version?: string;\n}\n\n/**\n * Options for {@link KeyClient.secureUnwrapKey}.\n */\nexport interface SecureUnwrapKeyOptions extends coreClient.OperationOptions {\n /**\n * The version of the key to unwrap with. Defaults to the latest version of the key if omitted.\n */\n version?: string;\n}\n\n/**\n * The algorithms supported by the secure wrap and unwrap operations on\n * {@link KeyClient}.\n *\n * Secure wrap/unwrap operations support a wider set of algorithms than the\n * regular wrap/unwrap. The additional algorithms typically end with `KWPAD`\n * (key-wrap with padding) or are prefixed with `CKM_` (PKCS#11 mechanisms).\n */\nexport type SecureKeyWrapAlgorithm =\n | \"RSA-OAEP-256\"\n | \"A128KW\"\n | \"A192KW\"\n | \"A256KW\"\n | \"A128KWPAD\"\n | \"A192KWPAD\"\n | \"A256KWPAD\"\n | \"CKM_AES_KEY_WRAP\"\n | \"CKM_AES_KEY_WRAP_PAD\";\n\n/**\n * Result of the {@link KeyClient.secureWrapKey} and\n * {@link KeyClient.secureUnwrapKey} operations.\n */\nexport interface SecureKeyOperationResult {\n /**\n * The ID of the Key Vault Key used for the operation.\n */\n keyID: string;\n /**\n * The algorithm used for the operation.\n */\n algorithm: SecureKeyWrapAlgorithm;\n /**\n * The result of the operation:\n * - For {@link KeyClient.secureWrapKey}, this is the wrapped 256-bit AES\n * key generated within the trusted execution environment (TEE).\n * - For {@link KeyClient.secureUnwrapKey}, this is the unwrapped symmetric\n * key.\n */\n result: Uint8Array;\n}\n\n/** Known values of {@link KeyOperation} that the service accepts. */\nexport enum KnownKeyOperations {\n /** Key operation - encrypt */\n Encrypt = \"encrypt\",\n /** Key operation - decrypt */\n Decrypt = \"decrypt\",\n /** Key operation - sign */\n Sign = \"sign\",\n /** Key operation - verify */\n Verify = \"verify\",\n /** Key operation - wrapKey */\n WrapKey = \"wrapKey\",\n /** Key operation - unwrapKey */\n UnwrapKey = \"unwrapKey\",\n /** Key operation - import */\n Import = \"import\",\n /** Key operation - secureWrapKey */\n SecureWrapKey = \"secureWrapKey\",\n /** Key operation - secureUnwrapKey */\n SecureUnwrapKey = \"secureUnwrapKey\",\n}\n\n/* eslint-disable tsdoc/syntax */\n/**\n * Defines values for KeyEncryptionAlgorithm.\n * {@link KnownKeyExportEncryptionAlgorithm} can be used interchangeably with KeyEncryptionAlgorithm,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **CKM_RSA_AES_KEY_WRAP** \\\n * **RSA_AES_KEY_WRAP_256** \\\n * **RSA_AES_KEY_WRAP_384**\n */\nexport type KeyExportEncryptionAlgorithm = string;\n/* eslint-enable tsdoc/syntax */\n\n/**\n * Options for {@link KeyClient.getCryptographyClient}.\n */\nexport interface GetCryptographyClientOptions {\n /**\n * The version of the key to use for cryptographic operations.\n *\n * When undefined, the latest version of the key will be used.\n */\n keyVersion?: string;\n}\n\n/**\n * Options for {@link KeyClient.rotateKey}\n */\nexport interface RotateKeyOptions extends coreClient.OperationOptions {}\n\n/**\n * The properties of a key rotation policy that the client can set for a given key.\n *\n * You may also reset the key rotation policy to its default values by setting lifetimeActions to an empty array.\n */\nexport interface KeyRotationPolicyProperties {\n /**\n * Optional key expiration period used to define the duration after which a newly rotated key will expire, defined as an ISO 8601 duration.\n */\n expiresIn?: string;\n\n /**\n * Actions that will be performed by Key Vault over the lifetime of a key.\n *\n * You may also pass an empty array to restore to its default values.\n */\n lifetimeActions?: KeyRotationLifetimeAction[];\n}\n\n/**\n * The complete key rotation policy that belongs to a key.\n */\nexport interface KeyRotationPolicy extends KeyRotationPolicyProperties {\n /**\n * The identifier of the Key Rotation Policy.\n * May be undefined if a policy has not been explicitly set.\n */\n readonly id?: string;\n\n /**\n * The created time in UTC.\n * May be undefined if a policy has not been explicitly set.\n */\n readonly createdOn?: Date;\n\n /**\n * The last updated time in UTC.\n * May be undefined if a policy has not been explicitly set.\n */\n readonly updatedOn?: Date;\n}\n\n/**\n * An action and its corresponding trigger that will be performed by Key Vault over the lifetime of a key.\n */\nexport interface KeyRotationLifetimeAction {\n /**\n * Time after creation to attempt the specified action, defined as an ISO 8601 duration.\n */\n timeAfterCreate?: string;\n\n /**\n * Time before expiry to attempt the specified action, defined as an ISO 8601 duration.\n */\n timeBeforeExpiry?: string;\n\n /**\n * The action that will be executed.\n */\n action: KeyRotationPolicyAction;\n}\n\n/**\n * The action that will be executed.\n */\nexport type KeyRotationPolicyAction = \"Rotate\" | \"Notify\";\n\n/**\n * Options for {@link KeyClient.updateKeyRotationPolicy}\n */\nexport interface UpdateKeyRotationPolicyOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link KeyClient.getRotationPolicy}\n */\nexport interface GetKeyRotationPolicyOptions extends coreClient.OperationOptions {}\n"]}
@@ -102,9 +102,20 @@ export interface KeyAttributes {
102
102
  readonly hsmPlatform?: string;
103
103
  /** The key or key version attestation information. */
104
104
  readonly attestation?: KeyAttestation;
105
+ /** The external key information. */
106
+ externalKey?: ExternalKey;
107
+ /** The optional key size in bits for symmetric keys. For example: 128, 192, or 256 for AES keys. */
108
+ readonly keySize?: number;
105
109
  }
106
110
  export declare function keyAttributesSerializer(item: KeyAttributes): any;
107
111
  export declare function keyAttributesDeserializer(item: any): KeyAttributes;
112
+ /** External Key parameters. */
113
+ export interface ExternalKey {
114
+ /** The external key identifier. The valid id can only contain characters in the set [a-zA-Z0-9-]. Maximum length is 64 characters. */
115
+ id: string;
116
+ }
117
+ export declare function externalKeySerializer(item: ExternalKey): any;
118
+ export declare function externalKeyDeserializer(item: any): ExternalKey;
108
119
  /** Reflects the deletion recovery level currently in effect for certificates in the current vault. If it contains 'Purgeable', the certificate can be permanently deleted by a privileged user; otherwise, only the system can purge the certificate, at the end of the retention interval. */
109
120
  export declare enum KnownDeletionRecoveryLevel {
110
121
  /** Denotes a vault state in which deletion is an irreversible operation, without the possibility for recovery. This level corresponds to no protection being available against a Delete operation; the data is irretrievably lost upon accepting a Delete operation at the entity level or higher (vault, resource group, subscription etc.) */
@@ -347,6 +358,22 @@ export interface KeyOperationsParameters {
347
358
  tag?: Uint8Array;
348
359
  }
349
360
  export declare function keyOperationsParametersSerializer(item: KeyOperationsParameters): any;
361
+ /** The secure key wrap operation parameters. */
362
+ export interface SecureKeyWrapParameters {
363
+ /** algorithm identifier */
364
+ algorithm: string;
365
+ }
366
+ export declare function secureKeyWrapParametersSerializer(item: SecureKeyWrapParameters): any;
367
+ /** The secure key unwrap operation parameters. */
368
+ export interface SecureKeyUnwrapParameters {
369
+ /** algorithm identifier */
370
+ algorithm: string;
371
+ /** The wrapped key to unwrap. */
372
+ value: Uint8Array;
373
+ /** The attestation assertion for the target of the key release. */
374
+ targetAttestationToken: string;
375
+ }
376
+ export declare function secureKeyUnwrapParametersSerializer(item: SecureKeyUnwrapParameters): any;
350
377
  /** An algorithm used for encryption and decryption. */
351
378
  export declare enum KnownJsonWebKeyEncryptionAlgorithm {
352
379
  /** [Not recommended] RSAES using Optimal Asymmetric Encryption Padding (OAEP), as described in https://tools.ietf.org/html/rfc3447, with the default parameters specified by RFC 3447 in Section A.2.1. Those default parameters are using a hash function of SHA-1 and a mask generation function of MGF1 with SHA-1. Microsoft recommends using RSA_OAEP_256 or stronger algorithms for enhanced security. Microsoft does *not* recommend RSA_OAEP, which is included solely for backwards compatibility. RSA_OAEP utilizes SHA1, which has known collision problems. */
@@ -412,6 +439,11 @@ export type JsonWebKeyEncryptionAlgorithm = string;
412
439
  export interface KeyOperationResult {
413
440
  /** Key identifier */
414
441
  readonly kid?: string;
442
+ /**
443
+ * The algorithm used for the operation. Only populated by the secure wrap
444
+ * and unwrap operations, which echo the algorithm back in their response.
445
+ */
446
+ readonly algorithm?: string;
415
447
  /** The result of the operation. */
416
448
  readonly result?: Uint8Array;
417
449
  /** Cryptographically random, non-repeating initialization vector for symmetric algorithms. */
@@ -631,7 +663,11 @@ export declare enum KnownVersions {
631
663
  V76Preview2 = "7.6-preview.2",
632
664
  /** The 7.6 API version. */
633
665
  V76 = "7.6",
666
+ /** The 2025-06-01-preview API version. */
667
+ V20250601Preview = "2025-06-01-preview",
634
668
  /** The 2025-07-01 API version. */
635
- V20250701 = "2025-07-01"
669
+ V20250701 = "2025-07-01",
670
+ /** The 2026-01-01-preview API version. */
671
+ V20260101Preview = "2026-01-01-preview"
636
672
  }
637
673
  //# sourceMappingURL=models.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":"AAKA,iCAAiC;AACjC,MAAM,WAAW,mBAAmB;IAClC,uEAAuE;IACvE,GAAG,EAAE,cAAc,CAAC;IACpB,sEAAsE;IACtE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,yCAAyC;IACzC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,yGAAyG;IACzG,MAAM,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAC/B,gEAAgE;IAChE,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,oEAAoE;IACpE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC9B,sEAAsE;IACtE,KAAK,CAAC,EAAE,mBAAmB,CAAC;IAC5B,4DAA4D;IAC5D,aAAa,CAAC,EAAE,gBAAgB,CAAC;CAClC;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,mBAAmB,GAAG,GAAG,CAmB5E;AAED,mHAAmH;AACnH,oBAAY,mBAAmB;IAC7B,sBAAsB;IACtB,EAAE,OAAO;IACT,oEAAoE;IACpE,KAAK,WAAW;IAChB,gDAAgD;IAChD,GAAG,QAAQ;IACX,yDAAyD;IACzD,MAAM,YAAY;IAClB,wDAAwD;IACxD,GAAG,QAAQ;IACX,iFAAiF;IACjF,MAAM,YAAY;CACnB;AAED;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC;AAEpC,8EAA8E;AAC9E,oBAAY,wBAAwB;IAClC,qDAAqD;IACrD,OAAO,YAAY;IACnB,qDAAqD;IACrD,OAAO,YAAY;IACnB,kDAAkD;IAClD,IAAI,SAAS;IACb,oDAAoD;IACpD,MAAM,WAAW;IACjB,8DAA8D;IAC9D,OAAO,YAAY;IACnB,gEAAgE;I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AC1C,gBAAgB,uBAAuB;CACxC"}
@@ -63,6 +63,9 @@ export function keyAttributesSerializer(item) {
63
63
  nbf: !item["notBefore"] ? item["notBefore"] : (item["notBefore"].getTime() / 1000) | 0,
64
64
  exp: !item["expires"] ? item["expires"] : (item["expires"].getTime() / 1000) | 0,
65
65
  exportable: item["exportable"],
66
+ external_key: !item["externalKey"]
67
+ ? item["externalKey"]
68
+ : externalKeySerializer(item["externalKey"]),
66
69
  };
67
70
  }
68
71
  export function keyAttributesDeserializer(item) {
@@ -79,6 +82,18 @@ export function keyAttributesDeserializer(item) {
79
82
  attestation: !item["attestation"]
80
83
  ? item["attestation"]
81
84
  : keyAttestationDeserializer(item["attestation"]),
85
+ externalKey: !item["external_key"]
86
+ ? item["external_key"]
87
+ : externalKeyDeserializer(item["external_key"]),
88
+ keySize: item["key_size"],
89
+ };
90
+ }
91
+ export function externalKeySerializer(item) {
92
+ return { id: item["id"] };
93
+ }
94
+ export function externalKeyDeserializer(item) {
95
+ return {
96
+ id: item["id"],
82
97
  };
83
98
  }
84
99
  /** Reflects the deletion recovery level currently in effect for certificates in the current vault. If it contains 'Purgeable', the certificate can be permanently deleted by a privileged user; otherwise, only the system can purge the certificate, at the end of the retention interval. */
@@ -363,6 +378,18 @@ export function keyOperationsParametersSerializer(item) {
363
378
  tag: !item["tag"] ? item["tag"] : uint8ArrayToString(item["tag"], "base64url"),
364
379
  };
365
380
  }
381
+ export function secureKeyWrapParametersSerializer(item) {
382
+ return {
383
+ alg: item["algorithm"],
384
+ };
385
+ }
386
+ export function secureKeyUnwrapParametersSerializer(item) {
387
+ return {
388
+ alg: item["algorithm"],
389
+ value: uint8ArrayToString(item["value"], "base64url"),
390
+ target: item["targetAttestationToken"],
391
+ };
392
+ }
366
393
  /** An algorithm used for encryption and decryption. */
367
394
  export var KnownJsonWebKeyEncryptionAlgorithm;
368
395
  (function (KnownJsonWebKeyEncryptionAlgorithm) {
@@ -404,6 +431,7 @@ export var KnownJsonWebKeyEncryptionAlgorithm;
404
431
  export function keyOperationResultDeserializer(item) {
405
432
  return {
406
433
  kid: item["kid"],
434
+ algorithm: item["alg"],
407
435
  result: !item["value"]
408
436
  ? item["value"]
409
437
  : typeof item["value"] === "string"
@@ -618,7 +646,11 @@ export var KnownVersions;
618
646
  KnownVersions["V76Preview2"] = "7.6-preview.2";
619
647
  /** The 7.6 API version. */
620
648
  KnownVersions["V76"] = "7.6";
649
+ /** The 2025-06-01-preview API version. */
650
+ KnownVersions["V20250601Preview"] = "2025-06-01-preview";
621
651
  /** The 2025-07-01 API version. */
622
652
  KnownVersions["V20250701"] = "2025-07-01";
653
+ /** The 2026-01-01-preview API version. */
654
+ KnownVersions["V20260101Preview"] = "2026-01-01-preview";
623
655
  })(KnownVersions || (KnownVersions = {}));
624
656
  //# sourceMappingURL=models.js.map