import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const payload = ovh.getCloudKeyManagerSecretPayload({ * serviceName: "Public cloud project ID", * secretId: "00000000-0000-0000-0000-000000000000", * }); * export const secretPayload = payload.then(payload => payload.payload); * ``` */ export declare function getCloudKeyManagerSecretPayload(args: GetCloudKeyManagerSecretPayloadArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCloudKeyManagerSecretPayload. */ export interface GetCloudKeyManagerSecretPayloadArgs { /** * UUID of the secret. */ secretId: string; /** * 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 getCloudKeyManagerSecretPayload. */ export interface GetCloudKeyManagerSecretPayloadResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The payload (secret material) of the secret. This value is sensitive. */ readonly payload: string; readonly secretId: string; readonly serviceName: string; } /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const payload = ovh.getCloudKeyManagerSecretPayload({ * serviceName: "Public cloud project ID", * secretId: "00000000-0000-0000-0000-000000000000", * }); * export const secretPayload = payload.then(payload => payload.payload); * ``` */ export declare function getCloudKeyManagerSecretPayloadOutput(args: GetCloudKeyManagerSecretPayloadOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCloudKeyManagerSecretPayload. */ export interface GetCloudKeyManagerSecretPayloadOutputArgs { /** * UUID of the secret. */ secretId: pulumi.Input; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName: pulumi.Input; }