import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Use this data source to list all secrets in the Barbican Key Manager service for a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const all = ovh.getCloudKeyManagerSecrets({ * serviceName: "Public cloud project ID", * }); * export const secretIds = all.then(all => .map(s => (s.id))); * ``` */ export declare function getCloudKeyManagerSecrets(args: GetCloudKeyManagerSecretsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCloudKeyManagerSecrets. */ export interface GetCloudKeyManagerSecretsArgs { /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName: string; } /** * A collection of values returned by getCloudKeyManagerSecrets. */ export interface GetCloudKeyManagerSecretsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * List of secrets. Each secret has the following attributes: */ readonly secrets: outputs.GetCloudKeyManagerSecretsSecret[]; readonly serviceName: string; } /** * Use this data source to list all secrets in the Barbican Key Manager service for a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const all = ovh.getCloudKeyManagerSecrets({ * serviceName: "Public cloud project ID", * }); * export const secretIds = all.then(all => .map(s => (s.id))); * ``` */ export declare function getCloudKeyManagerSecretsOutput(args: GetCloudKeyManagerSecretsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCloudKeyManagerSecrets. */ export interface GetCloudKeyManagerSecretsOutputArgs { /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName: pulumi.Input; }