UNPKG

@eqxjs/azure-manage-identity

Version:

For get Azure keyvault secret

12 lines (11 loc) 912 B
import { ListPropertiesOfSecretVersionsOptions, SecretClientOptions } from '@azure/keyvault-secrets'; /** * Lists all versions of a secret stored in Azure Key Vault. * * @param keyvaultURL - The URL of the Azure Key Vault instance * @param secretName - The name of the secret whose versions to list * @param secretOpt - Optional parameters for the list operation * @param clientOptions - Optional configuration for the {@link SecretClient} * @returns An async iterable of secret-version property objects */ export declare function listSecretVersion(keyvaultURL: string, secretName: string, secretOpt?: ListPropertiesOfSecretVersionsOptions, clientOptions?: SecretClientOptions): Promise<import("@azure/keyvault-secrets").PagedAsyncIterableIterator<import("@azure/keyvault-secrets").SecretProperties, import("@azure/keyvault-secrets").SecretProperties[], import("@azure/keyvault-secrets").PageSettings>>;