import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to retrieve data associated with a KMS credential, such as the PEM encoded certificate. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const kms = ovh.Okms.getOkmsCredential({ * okmsId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", * id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", * }); * ``` */ export declare function getOkmsCredential(args: GetOkmsCredentialArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getOkmsCredential. */ export interface GetOkmsCredentialArgs { /** * ID of the credential */ id: string; /** * ID of the KMS */ okmsId: string; } /** * A collection of values returned by getOkmsCredential. */ export interface GetOkmsCredentialResult { /** * (String) PEM encoded certificate of the credential */ readonly certificatePem: string; /** * (String) Type of certificate key (`ECDSA` or `RSA`). */ readonly certificateType: string; /** * (String) Creation time of the credential */ readonly createdAt: string; /** * (String) Description of the credential */ readonly description: string; /** * (String) Expiration time of the credential */ readonly expiredAt: string; /** * (Boolean) Is the credential generated from CSR */ readonly fromCsr: boolean; readonly id: string; /** * (List of String) List of identity URNs associated with the credential */ readonly identityUrns: string[]; /** * (String) Name of the credential */ readonly name: string; readonly okmsId: string; /** * (String) Status of the credential */ readonly status: string; } /** * Use this data source to retrieve data associated with a KMS credential, such as the PEM encoded certificate. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const kms = ovh.Okms.getOkmsCredential({ * okmsId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", * id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", * }); * ``` */ export declare function getOkmsCredentialOutput(args: GetOkmsCredentialOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getOkmsCredential. */ export interface GetOkmsCredentialOutputArgs { /** * ID of the credential */ id: pulumi.Input; /** * ID of the KMS */ okmsId: pulumi.Input; }