import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * Use this data source to retrieve a list of secret names from an existing Key Vault Secret.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 * import * as std from "@pulumi/std";
 *
 * const example = azure.keyvault.getSecrets({
 *     keyVaultId: existing.id,
 * });
 * const exampleGetSecret = example.then(example => std.toset({
 *     input: example.names,
 * })).then(invoke => .reduce((__obj, [__key, __value]) => ({ ...__obj, [String(__key)]: azure.keyvault.getSecret({
 *     name: String(__key),
 *     keyVaultId: existing.id,
 * }) }), {}));
 * ```
 */
export declare function getSecrets(args: GetSecretsArgs, opts?: pulumi.InvokeOptions): Promise<GetSecretsResult>;
/**
 * A collection of arguments for invoking getSecrets.
 */
export interface GetSecretsArgs {
    /**
     * Specifies the ID of the Key Vault instance to fetch secret names from, available on the `azure.keyvault.KeyVault` Data Source / Resource.
     *
     * > **Note:** The vault must be in the same subscription as the provider. If the vault is in another subscription, you must create an aliased provider for that subscription.
     */
    keyVaultId: string;
}
/**
 * A collection of values returned by getSecrets.
 */
export interface GetSecretsResult {
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    readonly keyVaultId: string;
    /**
     * List containing names of secrets that exist in this Key Vault.
     */
    readonly names: string[];
    /**
     * One or more `secrets` blocks as defined below.
     */
    readonly secrets: outputs.keyvault.GetSecretsSecret[];
}
/**
 * Use this data source to retrieve a list of secret names from an existing Key Vault Secret.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 * import * as std from "@pulumi/std";
 *
 * const example = azure.keyvault.getSecrets({
 *     keyVaultId: existing.id,
 * });
 * const exampleGetSecret = example.then(example => std.toset({
 *     input: example.names,
 * })).then(invoke => .reduce((__obj, [__key, __value]) => ({ ...__obj, [String(__key)]: azure.keyvault.getSecret({
 *     name: String(__key),
 *     keyVaultId: existing.id,
 * }) }), {}));
 * ```
 */
export declare function getSecretsOutput(args: GetSecretsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSecretsResult>;
/**
 * A collection of arguments for invoking getSecrets.
 */
export interface GetSecretsOutputArgs {
    /**
     * Specifies the ID of the Key Vault instance to fetch secret names from, available on the `azure.keyvault.KeyVault` Data Source / Resource.
     *
     * > **Note:** The vault must be in the same subscription as the provider. If the vault is in another subscription, you must create an aliased provider for that subscription.
     */
    keyVaultId: pulumi.Input<string>;
}
//# sourceMappingURL=getSecrets.d.ts.map