import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to retrieve information about a KMS service key. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const keyInfo = ovh.Okms.getOkmsServiceKey({ * okmsId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", * id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", * }); * ``` */ export declare function getOkmsServiceKey(args: GetOkmsServiceKeyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getOkmsServiceKey. */ export interface GetOkmsServiceKeyArgs { /** * ID of the service key */ id: string; /** * ID of the KMS */ okmsId: string; } /** * A collection of values returned by getOkmsServiceKey. */ export interface GetOkmsServiceKeyResult { readonly createdAt: string; readonly curve: string; readonly iam: outputs.Okms.GetOkmsServiceKeyIam; readonly id: string; readonly name: string; readonly okmsId: string; readonly operations: string[]; readonly size: number; readonly state: string; readonly type: string; } /** * Use this data source to retrieve information about a KMS service key. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const keyInfo = ovh.Okms.getOkmsServiceKey({ * okmsId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", * id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", * }); * ``` */ export declare function getOkmsServiceKeyOutput(args: GetOkmsServiceKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getOkmsServiceKey. */ export interface GetOkmsServiceKeyOutputArgs { /** * ID of the service key */ id: pulumi.Input; /** * ID of the KMS */ okmsId: pulumi.Input; }