@azure/keyvault-secrets 4.10.2-alpha.20260102.1 → 4.10.2-alpha.20260107.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.
@@ -1,5 +1,5 @@
1
1
  import type * as coreClient from "@azure-rest/core-client";
2
- import type { ExtendedCommonClientOptions } from "@azure/core-http-compat";
2
+ import type { ExtendedCommonClientOptions } from "@azure/keyvault-common";
3
3
  import type { DeletionRecoveryLevel } from "./models/models.js";
4
4
  /**
5
5
  * The latest supported KeyVault service API version
@@ -1 +1 @@
1
- {"version":3,"file":"secretsModels.d.ts","sourceRoot":"","sources":["../../src/secretsModels.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,kBAAkB,QAAQ,CAAC;AAExC;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,2BAA2B;IACtE;;OAEG;IACH,cAAc,CAAC,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;IAEvE;;;OAGG;IACH,oCAAoC,CAAC,EAAE,OAAO,CAAC;CAChD;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,UAAU,EAAE,gBAAgB,CAAC;IAC7B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,IAAI,EAAE,MAAM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ACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,KAAK,CAAC","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/core-http-compat\";\nimport type { DeletionRecoveryLevel } from \"./models/models.js\";\n\n/**\n * The latest supported KeyVault service API version\n */\nexport const LATEST_API_VERSION = \"7.6\";\n\n/**\n * The optional parameters accepted by the KeyVault's KeyClient\n */\nexport interface SecretClientOptions extends ExtendedCommonClientOptions {\n /**\n * The accepted versions of the KeyVault's service API.\n */\n serviceVersion?: \"7.0\" | \"7.1\" | \"7.2\" | \"7.3\" | \"7.4\" | \"7.5\" | \"7.6\";\n\n /**\n * Whether to disable verification that the authentication challenge resource matches the Key Vault domain.\n * Defaults to false.\n */\n disableChallengeResourceVerification?: boolean;\n}\n\n/**\n * An interface representing a KeyVault Secret, with its name, value and {@link SecretProperties}.\n */\nexport interface KeyVaultSecret {\n /**\n * The properties of the secret.\n */\n properties: SecretProperties;\n /**\n * The value of the secret.\n */\n value?: string;\n /**\n * The name of the secret.\n */\n name: string;\n}\n\n/**\n * An interface representing the properties of a {@link KeyVaultSecret}.\n */\nexport interface SecretProperties {\n /**\n * The base URL to the vault.\n */\n vaultUrl: string;\n /**\n * The version of the secret. May be undefined.\n */\n version?: string;\n /**\n * The name of the secret.\n */\n name: string;\n /**\n * The secret id.\n */\n id?: string;\n /**\n * The content type of the secret.\n */\n contentType?: string;\n /**\n * Determines whether the object is enabled.\n */\n enabled?: boolean;\n /**\n * Not before date in UTC.\n */\n readonly notBefore?: Date;\n /**\n * Expiry date in UTC.\n */\n readonly expiresOn?: Date;\n /**\n * Application specific\n * metadata in the form of key-value pairs.\n */\n tags?: { [propertyName: string]: string };\n /**\n * If this is a secret backing a KV certificate, then\n * this field specifies the corresponding key backing the KV certificate.\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n * @deprecated Please use {@link SecretProperties.certificateKeyId} instead. `keyId` will always be undefined.\n */\n readonly keyId?: never;\n\n /**\n * If this is a secret backing a KV certificate, then\n * this field specifies the identifier of the corresponding key backing the KV certificate.\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n */\n readonly certificateKeyId?: string;\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 * 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\n * recovery level currently in effect for keys in the current vault. If it\n * 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/**\n * An interface representing a deleted KeyVault Secret.\n */\nexport interface DeletedSecret {\n /**\n * The properties of the secret\n */\n properties: SecretProperties & {\n /**\n * The url of the recovery object, used to\n * identify and recover the deleted secret.\n * @deprecated Please use {@link DeletedSecret.recoveryId}.\n */\n recoveryId?: string;\n /**\n * The time when the secret is scheduled\n * to be purged, in UTC\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n * @deprecated Please use {@link DeletedSecret.scheduledPurgeDate}.\n */\n scheduledPurgeDate?: Date;\n /**\n * The time when the secret was deleted, in UTC\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n * @deprecated Please use {@link DeletedSecret.deletedOn}.\n */\n deletedOn?: Date;\n };\n /**\n * The secret value.\n */\n value?: string;\n /**\n * The name of the secret.\n */\n name: string;\n /**\n * The url of the recovery object, used to\n * identify and recover the deleted secret.\n */\n recoveryId?: string;\n /**\n * The time when the secret is scheduled\n * to be purged, in UTC\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n */\n scheduledPurgeDate?: Date;\n /**\n * The time when the secret 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 * An interface representing the optional parameters that can be\n * passed to {@link beginDeleteSecret} and {@link beginRecoverDeletedKey}.\n */\nexport interface SecretPollerOptions extends coreClient.OperationOptions {\n /**\n * Time between each polling in milliseconds.\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 beginDeleteSecret}\n */\nexport interface BeginDeleteSecretOptions extends SecretPollerOptions {}\n\n/**\n * An interface representing the optional parameters that can be\n * passed to {@link beginRecoverDeletedSecret}\n */\nexport interface BeginRecoverDeletedSecretOptions extends SecretPollerOptions {}\n\n/**\n * Options for {@link setSecret}.\n */\nexport interface SetSecretOptions extends coreClient.OperationOptions {\n /**\n * Application specific metadata in the form of key-value pairs.\n */\n tags?: { [propertyName: string]: string };\n /**\n * Type of the secret value such as a password.\n */\n contentType?: string;\n /**\n * Determines whether the object is enabled.\n */\n enabled?: boolean;\n /**\n * Not before date in UTC.\n */\n readonly notBefore?: Date;\n /**\n * Expiry date in UTC.\n */\n readonly expiresOn?: Date;\n}\n\n/**\n * Options for {@link updateSecretProperties}.\n */\nexport interface UpdateSecretPropertiesOptions extends coreClient.OperationOptions {\n /**\n * Type of the secret value such as a password.\n */\n contentType?: string;\n /**\n * Determines whether the object is enabled.\n */\n enabled?: boolean;\n /**\n * Not before date in UTC.\n */\n readonly notBefore?: Date;\n /**\n * Expiry date in UTC.\n */\n readonly expiresOn?: Date;\n /**\n * Application specific metadata in the form of key-value pairs.\n */\n tags?: { [propertyName: string]: string };\n}\n\n/**\n * Options for {@link getSecret}.\n */\nexport interface GetSecretOptions 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 getDeletedSecret}.\n */\nexport interface GetDeletedSecretOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link purgeDeletedSecret}.\n */\nexport interface PurgeDeletedSecretOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link backupSecretOptions}.\n */\nexport interface BackupSecretOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link restoreSecretBackup}.\n */\nexport interface RestoreSecretBackupOptions extends coreClient.OperationOptions {}\n\n/**\n * @internal\n * Options for {@link recoverDeletedSecret}.\n */\nexport interface RecoverDeletedSecretOptions extends coreClient.OperationOptions {}\n\n/**\n * @internal\n * Options for {@link deleteSecret}.\n */\nexport interface DeleteSecretOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link listPropertiesOfSecretVersions}.\n */\nexport interface ListPropertiesOfSecretVersionsOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link listPropertiesOfSecrets}.\n */\nexport interface ListPropertiesOfSecretsOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link listDeletedSecrets}.\n */\nexport interface ListDeletedSecretsOptions extends coreClient.OperationOptions {}\n"]}
1
+ {"version":3,"file":"secretsModels.js","sourceRoot":"","sources":["../../src/secretsModels.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,KAAK,CAAC","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\";\nimport type { DeletionRecoveryLevel } from \"./models/models.js\";\n\n/**\n * The latest supported KeyVault service API version\n */\nexport const LATEST_API_VERSION = \"7.6\";\n\n/**\n * The optional parameters accepted by the KeyVault's KeyClient\n */\nexport interface SecretClientOptions extends ExtendedCommonClientOptions {\n /**\n * The accepted versions of the KeyVault's service API.\n */\n serviceVersion?: \"7.0\" | \"7.1\" | \"7.2\" | \"7.3\" | \"7.4\" | \"7.5\" | \"7.6\";\n\n /**\n * Whether to disable verification that the authentication challenge resource matches the Key Vault domain.\n * Defaults to false.\n */\n disableChallengeResourceVerification?: boolean;\n}\n\n/**\n * An interface representing a KeyVault Secret, with its name, value and {@link SecretProperties}.\n */\nexport interface KeyVaultSecret {\n /**\n * The properties of the secret.\n */\n properties: SecretProperties;\n /**\n * The value of the secret.\n */\n value?: string;\n /**\n * The name of the secret.\n */\n name: string;\n}\n\n/**\n * An interface representing the properties of a {@link KeyVaultSecret}.\n */\nexport interface SecretProperties {\n /**\n * The base URL to the vault.\n */\n vaultUrl: string;\n /**\n * The version of the secret. May be undefined.\n */\n version?: string;\n /**\n * The name of the secret.\n */\n name: string;\n /**\n * The secret id.\n */\n id?: string;\n /**\n * The content type of the secret.\n */\n contentType?: string;\n /**\n * Determines whether the object is enabled.\n */\n enabled?: boolean;\n /**\n * Not before date in UTC.\n */\n readonly notBefore?: Date;\n /**\n * Expiry date in UTC.\n */\n readonly expiresOn?: Date;\n /**\n * Application specific\n * metadata in the form of key-value pairs.\n */\n tags?: { [propertyName: string]: string };\n /**\n * If this is a secret backing a KV certificate, then\n * this field specifies the corresponding key backing the KV certificate.\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n * @deprecated Please use {@link SecretProperties.certificateKeyId} instead. `keyId` will always be undefined.\n */\n readonly keyId?: never;\n\n /**\n * If this is a secret backing a KV certificate, then\n * this field specifies the identifier of the corresponding key backing the KV certificate.\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n */\n readonly certificateKeyId?: string;\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 * 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\n * recovery level currently in effect for keys in the current vault. If it\n * 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/**\n * An interface representing a deleted KeyVault Secret.\n */\nexport interface DeletedSecret {\n /**\n * The properties of the secret\n */\n properties: SecretProperties & {\n /**\n * The url of the recovery object, used to\n * identify and recover the deleted secret.\n * @deprecated Please use {@link DeletedSecret.recoveryId}.\n */\n recoveryId?: string;\n /**\n * The time when the secret is scheduled\n * to be purged, in UTC\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n * @deprecated Please use {@link DeletedSecret.scheduledPurgeDate}.\n */\n scheduledPurgeDate?: Date;\n /**\n * The time when the secret was deleted, in UTC\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n * @deprecated Please use {@link DeletedSecret.deletedOn}.\n */\n deletedOn?: Date;\n };\n /**\n * The secret value.\n */\n value?: string;\n /**\n * The name of the secret.\n */\n name: string;\n /**\n * The url of the recovery object, used to\n * identify and recover the deleted secret.\n */\n recoveryId?: string;\n /**\n * The time when the secret is scheduled\n * to be purged, in UTC\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n */\n scheduledPurgeDate?: Date;\n /**\n * The time when the secret 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 * An interface representing the optional parameters that can be\n * passed to {@link beginDeleteSecret} and {@link beginRecoverDeletedKey}.\n */\nexport interface SecretPollerOptions extends coreClient.OperationOptions {\n /**\n * Time between each polling in milliseconds.\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 beginDeleteSecret}\n */\nexport interface BeginDeleteSecretOptions extends SecretPollerOptions {}\n\n/**\n * An interface representing the optional parameters that can be\n * passed to {@link beginRecoverDeletedSecret}\n */\nexport interface BeginRecoverDeletedSecretOptions extends SecretPollerOptions {}\n\n/**\n * Options for {@link setSecret}.\n */\nexport interface SetSecretOptions extends coreClient.OperationOptions {\n /**\n * Application specific metadata in the form of key-value pairs.\n */\n tags?: { [propertyName: string]: string };\n /**\n * Type of the secret value such as a password.\n */\n contentType?: string;\n /**\n * Determines whether the object is enabled.\n */\n enabled?: boolean;\n /**\n * Not before date in UTC.\n */\n readonly notBefore?: Date;\n /**\n * Expiry date in UTC.\n */\n readonly expiresOn?: Date;\n}\n\n/**\n * Options for {@link updateSecretProperties}.\n */\nexport interface UpdateSecretPropertiesOptions extends coreClient.OperationOptions {\n /**\n * Type of the secret value such as a password.\n */\n contentType?: string;\n /**\n * Determines whether the object is enabled.\n */\n enabled?: boolean;\n /**\n * Not before date in UTC.\n */\n readonly notBefore?: Date;\n /**\n * Expiry date in UTC.\n */\n readonly expiresOn?: Date;\n /**\n * Application specific metadata in the form of key-value pairs.\n */\n tags?: { [propertyName: string]: string };\n}\n\n/**\n * Options for {@link getSecret}.\n */\nexport interface GetSecretOptions 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 getDeletedSecret}.\n */\nexport interface GetDeletedSecretOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link purgeDeletedSecret}.\n */\nexport interface PurgeDeletedSecretOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link backupSecretOptions}.\n */\nexport interface BackupSecretOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link restoreSecretBackup}.\n */\nexport interface RestoreSecretBackupOptions extends coreClient.OperationOptions {}\n\n/**\n * @internal\n * Options for {@link recoverDeletedSecret}.\n */\nexport interface RecoverDeletedSecretOptions extends coreClient.OperationOptions {}\n\n/**\n * @internal\n * Options for {@link deleteSecret}.\n */\nexport interface DeleteSecretOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link listPropertiesOfSecretVersions}.\n */\nexport interface ListPropertiesOfSecretVersionsOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link listPropertiesOfSecrets}.\n */\nexport interface ListPropertiesOfSecretsOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link listDeletedSecrets}.\n */\nexport interface ListDeletedSecretsOptions extends coreClient.OperationOptions {}\n"]}
@@ -1,5 +1,5 @@
1
1
  import type * as coreClient from "@azure-rest/core-client";
2
- import type { ExtendedCommonClientOptions } from "@azure/core-http-compat";
2
+ import type { ExtendedCommonClientOptions } from "@azure/keyvault-common";
3
3
  import type { DeletionRecoveryLevel } from "./models/models.js";
4
4
  /**
5
5
  * The latest supported KeyVault service API version
@@ -1 +1 @@
1
- {"version":3,"file":"secretsModels.d.ts","sourceRoot":"","sources":["../../src/secretsModels.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,kBAAkB,QAAQ,CAAC;AAExC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E;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAElF;;;GAGG;AACH,MAAM,WAAW,2BAA4B,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAEnF;;;GAGG;AACH,MAAM,WAAW,mBAAoB,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAE3E;;GAEG;AACH,MAAM,WAAW,qCAAsC,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAE7F;;GAEG;AACH,MAAM,WAAW,8BAA+B,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAEtF;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,UAAU,CAAC,gBAAgB;CAAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"secretsModels.js","sourceRoot":"","sources":["../../src/secretsModels.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAMlC;;GAEG;AACU,QAAA,kBAAkB,GAAG,KAAK,CAAC","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/core-http-compat\";\nimport type { DeletionRecoveryLevel } from \"./models/models.js\";\n\n/**\n * The latest supported KeyVault service API version\n */\nexport const LATEST_API_VERSION = \"7.6\";\n\n/**\n * The optional parameters accepted by the KeyVault's KeyClient\n */\nexport interface SecretClientOptions extends ExtendedCommonClientOptions {\n /**\n * The accepted versions of the KeyVault's service API.\n */\n serviceVersion?: \"7.0\" | \"7.1\" | \"7.2\" | \"7.3\" | \"7.4\" | \"7.5\" | \"7.6\";\n\n /**\n * Whether to disable verification that the authentication challenge resource matches the Key Vault domain.\n * Defaults to false.\n */\n disableChallengeResourceVerification?: boolean;\n}\n\n/**\n * An interface representing a KeyVault Secret, with its name, value and {@link SecretProperties}.\n */\nexport interface KeyVaultSecret {\n /**\n * The properties of the secret.\n */\n properties: SecretProperties;\n /**\n * The value of the secret.\n */\n value?: string;\n /**\n * The name of the secret.\n */\n name: string;\n}\n\n/**\n * An interface representing the properties of a {@link KeyVaultSecret}.\n */\nexport interface SecretProperties {\n /**\n * The base URL to the vault.\n */\n vaultUrl: string;\n /**\n * The version of the secret. May be undefined.\n */\n version?: string;\n /**\n * The name of the secret.\n */\n name: string;\n /**\n * The secret id.\n */\n id?: string;\n /**\n * The content type of the secret.\n */\n contentType?: string;\n /**\n * Determines whether the object is enabled.\n */\n enabled?: boolean;\n /**\n * Not before date in UTC.\n */\n readonly notBefore?: Date;\n /**\n * Expiry date in UTC.\n */\n readonly expiresOn?: Date;\n /**\n * Application specific\n * metadata in the form of key-value pairs.\n */\n tags?: { [propertyName: string]: string };\n /**\n * If this is a secret backing a KV certificate, then\n * this field specifies the corresponding key backing the KV certificate.\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n * @deprecated Please use {@link SecretProperties.certificateKeyId} instead. `keyId` will always be undefined.\n */\n readonly keyId?: never;\n\n /**\n * If this is a secret backing a KV certificate, then\n * this field specifies the identifier of the corresponding key backing the KV certificate.\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n */\n readonly certificateKeyId?: string;\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 * 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\n * recovery level currently in effect for keys in the current vault. If it\n * 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/**\n * An interface representing a deleted KeyVault Secret.\n */\nexport interface DeletedSecret {\n /**\n * The properties of the secret\n */\n properties: SecretProperties & {\n /**\n * The url of the recovery object, used to\n * identify and recover the deleted secret.\n * @deprecated Please use {@link DeletedSecret.recoveryId}.\n */\n recoveryId?: string;\n /**\n * The time when the secret is scheduled\n * to be purged, in UTC\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n * @deprecated Please use {@link DeletedSecret.scheduledPurgeDate}.\n */\n scheduledPurgeDate?: Date;\n /**\n * The time when the secret was deleted, in UTC\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n * @deprecated Please use {@link DeletedSecret.deletedOn}.\n */\n deletedOn?: Date;\n };\n /**\n * The secret value.\n */\n value?: string;\n /**\n * The name of the secret.\n */\n name: string;\n /**\n * The url of the recovery object, used to\n * identify and recover the deleted secret.\n */\n recoveryId?: string;\n /**\n * The time when the secret is scheduled\n * to be purged, in UTC\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n */\n scheduledPurgeDate?: Date;\n /**\n * The time when the secret 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 * An interface representing the optional parameters that can be\n * passed to {@link beginDeleteSecret} and {@link beginRecoverDeletedKey}.\n */\nexport interface SecretPollerOptions extends coreClient.OperationOptions {\n /**\n * Time between each polling in milliseconds.\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 beginDeleteSecret}\n */\nexport interface BeginDeleteSecretOptions extends SecretPollerOptions {}\n\n/**\n * An interface representing the optional parameters that can be\n * passed to {@link beginRecoverDeletedSecret}\n */\nexport interface BeginRecoverDeletedSecretOptions extends SecretPollerOptions {}\n\n/**\n * Options for {@link setSecret}.\n */\nexport interface SetSecretOptions extends coreClient.OperationOptions {\n /**\n * Application specific metadata in the form of key-value pairs.\n */\n tags?: { [propertyName: string]: string };\n /**\n * Type of the secret value such as a password.\n */\n contentType?: string;\n /**\n * Determines whether the object is enabled.\n */\n enabled?: boolean;\n /**\n * Not before date in UTC.\n */\n readonly notBefore?: Date;\n /**\n * Expiry date in UTC.\n */\n readonly expiresOn?: Date;\n}\n\n/**\n * Options for {@link updateSecretProperties}.\n */\nexport interface UpdateSecretPropertiesOptions extends coreClient.OperationOptions {\n /**\n * Type of the secret value such as a password.\n */\n contentType?: string;\n /**\n * Determines whether the object is enabled.\n */\n enabled?: boolean;\n /**\n * Not before date in UTC.\n */\n readonly notBefore?: Date;\n /**\n * Expiry date in UTC.\n */\n readonly expiresOn?: Date;\n /**\n * Application specific metadata in the form of key-value pairs.\n */\n tags?: { [propertyName: string]: string };\n}\n\n/**\n * Options for {@link getSecret}.\n */\nexport interface GetSecretOptions 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 getDeletedSecret}.\n */\nexport interface GetDeletedSecretOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link purgeDeletedSecret}.\n */\nexport interface PurgeDeletedSecretOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link backupSecretOptions}.\n */\nexport interface BackupSecretOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link restoreSecretBackup}.\n */\nexport interface RestoreSecretBackupOptions extends coreClient.OperationOptions {}\n\n/**\n * @internal\n * Options for {@link recoverDeletedSecret}.\n */\nexport interface RecoverDeletedSecretOptions extends coreClient.OperationOptions {}\n\n/**\n * @internal\n * Options for {@link deleteSecret}.\n */\nexport interface DeleteSecretOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link listPropertiesOfSecretVersions}.\n */\nexport interface ListPropertiesOfSecretVersionsOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link listPropertiesOfSecrets}.\n */\nexport interface ListPropertiesOfSecretsOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link listDeletedSecrets}.\n */\nexport interface ListDeletedSecretsOptions extends coreClient.OperationOptions {}\n"]}
1
+ {"version":3,"file":"secretsModels.js","sourceRoot":"","sources":["../../src/secretsModels.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAMlC;;GAEG;AACU,QAAA,kBAAkB,GAAG,KAAK,CAAC","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\";\nimport type { DeletionRecoveryLevel } from \"./models/models.js\";\n\n/**\n * The latest supported KeyVault service API version\n */\nexport const LATEST_API_VERSION = \"7.6\";\n\n/**\n * The optional parameters accepted by the KeyVault's KeyClient\n */\nexport interface SecretClientOptions extends ExtendedCommonClientOptions {\n /**\n * The accepted versions of the KeyVault's service API.\n */\n serviceVersion?: \"7.0\" | \"7.1\" | \"7.2\" | \"7.3\" | \"7.4\" | \"7.5\" | \"7.6\";\n\n /**\n * Whether to disable verification that the authentication challenge resource matches the Key Vault domain.\n * Defaults to false.\n */\n disableChallengeResourceVerification?: boolean;\n}\n\n/**\n * An interface representing a KeyVault Secret, with its name, value and {@link SecretProperties}.\n */\nexport interface KeyVaultSecret {\n /**\n * The properties of the secret.\n */\n properties: SecretProperties;\n /**\n * The value of the secret.\n */\n value?: string;\n /**\n * The name of the secret.\n */\n name: string;\n}\n\n/**\n * An interface representing the properties of a {@link KeyVaultSecret}.\n */\nexport interface SecretProperties {\n /**\n * The base URL to the vault.\n */\n vaultUrl: string;\n /**\n * The version of the secret. May be undefined.\n */\n version?: string;\n /**\n * The name of the secret.\n */\n name: string;\n /**\n * The secret id.\n */\n id?: string;\n /**\n * The content type of the secret.\n */\n contentType?: string;\n /**\n * Determines whether the object is enabled.\n */\n enabled?: boolean;\n /**\n * Not before date in UTC.\n */\n readonly notBefore?: Date;\n /**\n * Expiry date in UTC.\n */\n readonly expiresOn?: Date;\n /**\n * Application specific\n * metadata in the form of key-value pairs.\n */\n tags?: { [propertyName: string]: string };\n /**\n * If this is a secret backing a KV certificate, then\n * this field specifies the corresponding key backing the KV certificate.\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n * @deprecated Please use {@link SecretProperties.certificateKeyId} instead. `keyId` will always be undefined.\n */\n readonly keyId?: never;\n\n /**\n * If this is a secret backing a KV certificate, then\n * this field specifies the identifier of the corresponding key backing the KV certificate.\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n */\n readonly certificateKeyId?: string;\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 * 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\n * recovery level currently in effect for keys in the current vault. If it\n * 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/**\n * An interface representing a deleted KeyVault Secret.\n */\nexport interface DeletedSecret {\n /**\n * The properties of the secret\n */\n properties: SecretProperties & {\n /**\n * The url of the recovery object, used to\n * identify and recover the deleted secret.\n * @deprecated Please use {@link DeletedSecret.recoveryId}.\n */\n recoveryId?: string;\n /**\n * The time when the secret is scheduled\n * to be purged, in UTC\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n * @deprecated Please use {@link DeletedSecret.scheduledPurgeDate}.\n */\n scheduledPurgeDate?: Date;\n /**\n * The time when the secret was deleted, in UTC\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n * @deprecated Please use {@link DeletedSecret.deletedOn}.\n */\n deletedOn?: Date;\n };\n /**\n * The secret value.\n */\n value?: string;\n /**\n * The name of the secret.\n */\n name: string;\n /**\n * The url of the recovery object, used to\n * identify and recover the deleted secret.\n */\n recoveryId?: string;\n /**\n * The time when the secret is scheduled\n * to be purged, in UTC\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n */\n scheduledPurgeDate?: Date;\n /**\n * The time when the secret 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 * An interface representing the optional parameters that can be\n * passed to {@link beginDeleteSecret} and {@link beginRecoverDeletedKey}.\n */\nexport interface SecretPollerOptions extends coreClient.OperationOptions {\n /**\n * Time between each polling in milliseconds.\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 beginDeleteSecret}\n */\nexport interface BeginDeleteSecretOptions extends SecretPollerOptions {}\n\n/**\n * An interface representing the optional parameters that can be\n * passed to {@link beginRecoverDeletedSecret}\n */\nexport interface BeginRecoverDeletedSecretOptions extends SecretPollerOptions {}\n\n/**\n * Options for {@link setSecret}.\n */\nexport interface SetSecretOptions extends coreClient.OperationOptions {\n /**\n * Application specific metadata in the form of key-value pairs.\n */\n tags?: { [propertyName: string]: string };\n /**\n * Type of the secret value such as a password.\n */\n contentType?: string;\n /**\n * Determines whether the object is enabled.\n */\n enabled?: boolean;\n /**\n * Not before date in UTC.\n */\n readonly notBefore?: Date;\n /**\n * Expiry date in UTC.\n */\n readonly expiresOn?: Date;\n}\n\n/**\n * Options for {@link updateSecretProperties}.\n */\nexport interface UpdateSecretPropertiesOptions extends coreClient.OperationOptions {\n /**\n * Type of the secret value such as a password.\n */\n contentType?: string;\n /**\n * Determines whether the object is enabled.\n */\n enabled?: boolean;\n /**\n * Not before date in UTC.\n */\n readonly notBefore?: Date;\n /**\n * Expiry date in UTC.\n */\n readonly expiresOn?: Date;\n /**\n * Application specific metadata in the form of key-value pairs.\n */\n tags?: { [propertyName: string]: string };\n}\n\n/**\n * Options for {@link getSecret}.\n */\nexport interface GetSecretOptions 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 getDeletedSecret}.\n */\nexport interface GetDeletedSecretOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link purgeDeletedSecret}.\n */\nexport interface PurgeDeletedSecretOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link backupSecretOptions}.\n */\nexport interface BackupSecretOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link restoreSecretBackup}.\n */\nexport interface RestoreSecretBackupOptions extends coreClient.OperationOptions {}\n\n/**\n * @internal\n * Options for {@link recoverDeletedSecret}.\n */\nexport interface RecoverDeletedSecretOptions extends coreClient.OperationOptions {}\n\n/**\n * @internal\n * Options for {@link deleteSecret}.\n */\nexport interface DeleteSecretOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link listPropertiesOfSecretVersions}.\n */\nexport interface ListPropertiesOfSecretVersionsOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link listPropertiesOfSecrets}.\n */\nexport interface ListPropertiesOfSecretsOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link listDeletedSecrets}.\n */\nexport interface ListDeletedSecretsOptions extends coreClient.OperationOptions {}\n"]}
@@ -1,5 +1,5 @@
1
1
  import type * as coreClient from "@azure-rest/core-client";
2
- import type { ExtendedCommonClientOptions } from "@azure/core-http-compat";
2
+ import type { ExtendedCommonClientOptions } from "@azure/keyvault-common";
3
3
  import type { DeletionRecoveryLevel } from "./models/models.js";
4
4
  /**
5
5
  * The latest supported KeyVault service API version
@@ -1 +1 @@
1
- {"version":3,"file":"secretsModels.d.ts","sourceRoot":"","sources":["../../src/secretsModels.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,kBAAkB,QAAQ,CAAC;AAExC;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,2BAA2B;IACtE;;OAEG;IACH,cAAc,CAAC,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;IAEvE;;;OAGG;IACH,oCAAoC,CAAC,EAAE,OAAO,CAAC;CAChD;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,UAAU,EAAE,gBAAgB,CAAC;IAC7B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAE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Q,CAAC,SAAS,CAAC,EAAE,IAAI,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,IAAI,CAAC;IAC1B;;OAEG;IACH,IAAI,CAAC,EAAE;QAAE,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CAC3C;AAED;;GAEG;AACH,MAAM,WAAW,gBAAiB,SAAQ,UAAU,CAAC,gBAAgB;IACnE;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAE/E;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAEjF;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAE3E;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAElF;;;GAGG;AACH,MAAM,WAAW,2BAA4B,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAEnF;;;GAGG;AACH,MAAM,WAAW,mBAAoB,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAE3E;;GAEG;AACH,MAAM,WAAW,qCAAsC,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAE7F;;GAEG;AACH,MAAM,WAAW,8BAA+B,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAEtF;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,UAAU,CAAC,gBAAgB;CAAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"secretsModels.js","sourceRoot":"","sources":["../../src/secretsModels.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,KAAK,CAAC","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/core-http-compat\";\nimport type { DeletionRecoveryLevel } from \"./models/models.js\";\n\n/**\n * The latest supported KeyVault service API version\n */\nexport const LATEST_API_VERSION = \"7.6\";\n\n/**\n * The optional parameters accepted by the KeyVault's KeyClient\n */\nexport interface SecretClientOptions extends ExtendedCommonClientOptions {\n /**\n * The accepted versions of the KeyVault's service API.\n */\n serviceVersion?: \"7.0\" | \"7.1\" | \"7.2\" | \"7.3\" | \"7.4\" | \"7.5\" | \"7.6\";\n\n /**\n * Whether to disable verification that the authentication challenge resource matches the Key Vault domain.\n * Defaults to false.\n */\n disableChallengeResourceVerification?: boolean;\n}\n\n/**\n * An interface representing a KeyVault Secret, with its name, value and {@link SecretProperties}.\n */\nexport interface KeyVaultSecret {\n /**\n * The properties of the secret.\n */\n properties: SecretProperties;\n /**\n * The value of the secret.\n */\n value?: string;\n /**\n * The name of the secret.\n */\n name: string;\n}\n\n/**\n * An interface representing the properties of a {@link KeyVaultSecret}.\n */\nexport interface SecretProperties {\n /**\n * The base URL to the vault.\n */\n vaultUrl: string;\n /**\n * The version of the secret. May be undefined.\n */\n version?: string;\n /**\n * The name of the secret.\n */\n name: string;\n /**\n * The secret id.\n */\n id?: string;\n /**\n * The content type of the secret.\n */\n contentType?: string;\n /**\n * Determines whether the object is enabled.\n */\n enabled?: boolean;\n /**\n * Not before date in UTC.\n */\n readonly notBefore?: Date;\n /**\n * Expiry date in UTC.\n */\n readonly expiresOn?: Date;\n /**\n * Application specific\n * metadata in the form of key-value pairs.\n */\n tags?: { [propertyName: string]: string };\n /**\n * If this is a secret backing a KV certificate, then\n * this field specifies the corresponding key backing the KV certificate.\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n * @deprecated Please use {@link SecretProperties.certificateKeyId} instead. `keyId` will always be undefined.\n */\n readonly keyId?: never;\n\n /**\n * If this is a secret backing a KV certificate, then\n * this field specifies the identifier of the corresponding key backing the KV certificate.\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n */\n readonly certificateKeyId?: string;\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 * 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\n * recovery level currently in effect for keys in the current vault. If it\n * 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/**\n * An interface representing a deleted KeyVault Secret.\n */\nexport interface DeletedSecret {\n /**\n * The properties of the secret\n */\n properties: SecretProperties & {\n /**\n * The url of the recovery object, used to\n * identify and recover the deleted secret.\n * @deprecated Please use {@link DeletedSecret.recoveryId}.\n */\n recoveryId?: string;\n /**\n * The time when the secret is scheduled\n * to be purged, in UTC\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n * @deprecated Please use {@link DeletedSecret.scheduledPurgeDate}.\n */\n scheduledPurgeDate?: Date;\n /**\n * The time when the secret was deleted, in UTC\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n * @deprecated Please use {@link DeletedSecret.deletedOn}.\n */\n deletedOn?: Date;\n };\n /**\n * The secret value.\n */\n value?: string;\n /**\n * The name of the secret.\n */\n name: string;\n /**\n * The url of the recovery object, used to\n * identify and recover the deleted secret.\n */\n recoveryId?: string;\n /**\n * The time when the secret is scheduled\n * to be purged, in UTC\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n */\n scheduledPurgeDate?: Date;\n /**\n * The time when the secret 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 * An interface representing the optional parameters that can be\n * passed to {@link beginDeleteSecret} and {@link beginRecoverDeletedKey}.\n */\nexport interface SecretPollerOptions extends coreClient.OperationOptions {\n /**\n * Time between each polling in milliseconds.\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 beginDeleteSecret}\n */\nexport interface BeginDeleteSecretOptions extends SecretPollerOptions {}\n\n/**\n * An interface representing the optional parameters that can be\n * passed to {@link beginRecoverDeletedSecret}\n */\nexport interface BeginRecoverDeletedSecretOptions extends SecretPollerOptions {}\n\n/**\n * Options for {@link setSecret}.\n */\nexport interface SetSecretOptions extends coreClient.OperationOptions {\n /**\n * Application specific metadata in the form of key-value pairs.\n */\n tags?: { [propertyName: string]: string };\n /**\n * Type of the secret value such as a password.\n */\n contentType?: string;\n /**\n * Determines whether the object is enabled.\n */\n enabled?: boolean;\n /**\n * Not before date in UTC.\n */\n readonly notBefore?: Date;\n /**\n * Expiry date in UTC.\n */\n readonly expiresOn?: Date;\n}\n\n/**\n * Options for {@link updateSecretProperties}.\n */\nexport interface UpdateSecretPropertiesOptions extends coreClient.OperationOptions {\n /**\n * Type of the secret value such as a password.\n */\n contentType?: string;\n /**\n * Determines whether the object is enabled.\n */\n enabled?: boolean;\n /**\n * Not before date in UTC.\n */\n readonly notBefore?: Date;\n /**\n * Expiry date in UTC.\n */\n readonly expiresOn?: Date;\n /**\n * Application specific metadata in the form of key-value pairs.\n */\n tags?: { [propertyName: string]: string };\n}\n\n/**\n * Options for {@link getSecret}.\n */\nexport interface GetSecretOptions 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 getDeletedSecret}.\n */\nexport interface GetDeletedSecretOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link purgeDeletedSecret}.\n */\nexport interface PurgeDeletedSecretOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link backupSecretOptions}.\n */\nexport interface BackupSecretOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link restoreSecretBackup}.\n */\nexport interface RestoreSecretBackupOptions extends coreClient.OperationOptions {}\n\n/**\n * @internal\n * Options for {@link recoverDeletedSecret}.\n */\nexport interface RecoverDeletedSecretOptions extends coreClient.OperationOptions {}\n\n/**\n * @internal\n * Options for {@link deleteSecret}.\n */\nexport interface DeleteSecretOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link listPropertiesOfSecretVersions}.\n */\nexport interface ListPropertiesOfSecretVersionsOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link listPropertiesOfSecrets}.\n */\nexport interface ListPropertiesOfSecretsOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link listDeletedSecrets}.\n */\nexport interface ListDeletedSecretsOptions extends coreClient.OperationOptions {}\n"]}
1
+ {"version":3,"file":"secretsModels.js","sourceRoot":"","sources":["../../src/secretsModels.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,KAAK,CAAC","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\";\nimport type { DeletionRecoveryLevel } from \"./models/models.js\";\n\n/**\n * The latest supported KeyVault service API version\n */\nexport const LATEST_API_VERSION = \"7.6\";\n\n/**\n * The optional parameters accepted by the KeyVault's KeyClient\n */\nexport interface SecretClientOptions extends ExtendedCommonClientOptions {\n /**\n * The accepted versions of the KeyVault's service API.\n */\n serviceVersion?: \"7.0\" | \"7.1\" | \"7.2\" | \"7.3\" | \"7.4\" | \"7.5\" | \"7.6\";\n\n /**\n * Whether to disable verification that the authentication challenge resource matches the Key Vault domain.\n * Defaults to false.\n */\n disableChallengeResourceVerification?: boolean;\n}\n\n/**\n * An interface representing a KeyVault Secret, with its name, value and {@link SecretProperties}.\n */\nexport interface KeyVaultSecret {\n /**\n * The properties of the secret.\n */\n properties: SecretProperties;\n /**\n * The value of the secret.\n */\n value?: string;\n /**\n * The name of the secret.\n */\n name: string;\n}\n\n/**\n * An interface representing the properties of a {@link KeyVaultSecret}.\n */\nexport interface SecretProperties {\n /**\n * The base URL to the vault.\n */\n vaultUrl: string;\n /**\n * The version of the secret. May be undefined.\n */\n version?: string;\n /**\n * The name of the secret.\n */\n name: string;\n /**\n * The secret id.\n */\n id?: string;\n /**\n * The content type of the secret.\n */\n contentType?: string;\n /**\n * Determines whether the object is enabled.\n */\n enabled?: boolean;\n /**\n * Not before date in UTC.\n */\n readonly notBefore?: Date;\n /**\n * Expiry date in UTC.\n */\n readonly expiresOn?: Date;\n /**\n * Application specific\n * metadata in the form of key-value pairs.\n */\n tags?: { [propertyName: string]: string };\n /**\n * If this is a secret backing a KV certificate, then\n * this field specifies the corresponding key backing the KV certificate.\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n * @deprecated Please use {@link SecretProperties.certificateKeyId} instead. `keyId` will always be undefined.\n */\n readonly keyId?: never;\n\n /**\n * If this is a secret backing a KV certificate, then\n * this field specifies the identifier of the corresponding key backing the KV certificate.\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n */\n readonly certificateKeyId?: string;\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 * 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\n * recovery level currently in effect for keys in the current vault. If it\n * 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/**\n * An interface representing a deleted KeyVault Secret.\n */\nexport interface DeletedSecret {\n /**\n * The properties of the secret\n */\n properties: SecretProperties & {\n /**\n * The url of the recovery object, used to\n * identify and recover the deleted secret.\n * @deprecated Please use {@link DeletedSecret.recoveryId}.\n */\n recoveryId?: string;\n /**\n * The time when the secret is scheduled\n * to be purged, in UTC\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n * @deprecated Please use {@link DeletedSecret.scheduledPurgeDate}.\n */\n scheduledPurgeDate?: Date;\n /**\n * The time when the secret was deleted, in UTC\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n * @deprecated Please use {@link DeletedSecret.deletedOn}.\n */\n deletedOn?: Date;\n };\n /**\n * The secret value.\n */\n value?: string;\n /**\n * The name of the secret.\n */\n name: string;\n /**\n * The url of the recovery object, used to\n * identify and recover the deleted secret.\n */\n recoveryId?: string;\n /**\n * The time when the secret is scheduled\n * to be purged, in UTC\n * **NOTE: This property will not be serialized. It can only be populated by\n * the server.**\n */\n scheduledPurgeDate?: Date;\n /**\n * The time when the secret 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 * An interface representing the optional parameters that can be\n * passed to {@link beginDeleteSecret} and {@link beginRecoverDeletedKey}.\n */\nexport interface SecretPollerOptions extends coreClient.OperationOptions {\n /**\n * Time between each polling in milliseconds.\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 beginDeleteSecret}\n */\nexport interface BeginDeleteSecretOptions extends SecretPollerOptions {}\n\n/**\n * An interface representing the optional parameters that can be\n * passed to {@link beginRecoverDeletedSecret}\n */\nexport interface BeginRecoverDeletedSecretOptions extends SecretPollerOptions {}\n\n/**\n * Options for {@link setSecret}.\n */\nexport interface SetSecretOptions extends coreClient.OperationOptions {\n /**\n * Application specific metadata in the form of key-value pairs.\n */\n tags?: { [propertyName: string]: string };\n /**\n * Type of the secret value such as a password.\n */\n contentType?: string;\n /**\n * Determines whether the object is enabled.\n */\n enabled?: boolean;\n /**\n * Not before date in UTC.\n */\n readonly notBefore?: Date;\n /**\n * Expiry date in UTC.\n */\n readonly expiresOn?: Date;\n}\n\n/**\n * Options for {@link updateSecretProperties}.\n */\nexport interface UpdateSecretPropertiesOptions extends coreClient.OperationOptions {\n /**\n * Type of the secret value such as a password.\n */\n contentType?: string;\n /**\n * Determines whether the object is enabled.\n */\n enabled?: boolean;\n /**\n * Not before date in UTC.\n */\n readonly notBefore?: Date;\n /**\n * Expiry date in UTC.\n */\n readonly expiresOn?: Date;\n /**\n * Application specific metadata in the form of key-value pairs.\n */\n tags?: { [propertyName: string]: string };\n}\n\n/**\n * Options for {@link getSecret}.\n */\nexport interface GetSecretOptions 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 getDeletedSecret}.\n */\nexport interface GetDeletedSecretOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link purgeDeletedSecret}.\n */\nexport interface PurgeDeletedSecretOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link backupSecretOptions}.\n */\nexport interface BackupSecretOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link restoreSecretBackup}.\n */\nexport interface RestoreSecretBackupOptions extends coreClient.OperationOptions {}\n\n/**\n * @internal\n * Options for {@link recoverDeletedSecret}.\n */\nexport interface RecoverDeletedSecretOptions extends coreClient.OperationOptions {}\n\n/**\n * @internal\n * Options for {@link deleteSecret}.\n */\nexport interface DeleteSecretOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link listPropertiesOfSecretVersions}.\n */\nexport interface ListPropertiesOfSecretVersionsOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link listPropertiesOfSecrets}.\n */\nexport interface ListPropertiesOfSecretsOptions extends coreClient.OperationOptions {}\n\n/**\n * Options for {@link listDeletedSecrets}.\n */\nexport interface ListDeletedSecretsOptions extends coreClient.OperationOptions {}\n"]}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@azure/keyvault-secrets",
3
3
  "sdk-type": "client",
4
4
  "author": "Microsoft Corporation",
5
- "version": "4.10.2-alpha.20260102.1",
5
+ "version": "4.10.2-alpha.20260107.1",
6
6
  "license": "MIT",
7
7
  "description": "Isomorphic client library for Azure KeyVault's secrets.",
8
8
  "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-secrets/README.md",
@@ -60,7 +60,6 @@
60
60
  "@azure-rest/core-client": ">=2.5.2-alpha <2.5.2-alphb",
61
61
  "@azure/abort-controller": ">=2.1.3-alpha <2.1.3-alphb",
62
62
  "@azure/core-auth": ">=1.10.2-alpha <1.10.2-alphb",
63
- "@azure/core-http-compat": ">=2.3.2-alpha <2.3.2-alphb",
64
63
  "@azure/core-lro": "^2.7.2",
65
64
  "@azure/core-paging": ">=1.6.3-alpha <1.6.3-alphb",
66
65
  "@azure/core-rest-pipeline": ">=1.22.3-alpha <1.22.3-alphb",
@@ -75,7 +74,7 @@
75
74
  "@types/node": "^20.19.25",
76
75
  "@vitest/browser-playwright": "^4.0.8",
77
76
  "@vitest/coverage-istanbul": "^4.0.8",
78
- "cross-env": "^7.0.3",
77
+ "cross-env": "^10.1.0",
79
78
  "dotenv": "^16.6.1",
80
79
  "eslint": "^9.39.1",
81
80
  "playwright": "^1.56.1",
@@ -87,8 +86,8 @@
87
86
  "@azure-tools/test-credential": "^2.1.2",
88
87
  "@azure-tools/test-recorder": "^4.1.1",
89
88
  "@azure-tools/test-utils-vitest": "^2.0.1",
90
- "@azure/dev-tool": "^1.0.0",
91
- "@azure/eslint-plugin-azure-sdk": "^3.0.0"
89
+ "@azure/eslint-plugin-azure-sdk": "^3.0.0",
90
+ "@azure/dev-tool": "^1.0.0"
92
91
  },
93
92
  "type": "module",
94
93
  "tshy": {