import * as pulumi from "@pulumi/pulumi"; /** * Use client certificates to authenticate your API checks to APIs that require mutual TLS (mTLS) authentication, or any other authentication scheme where the requester needs to provide a certificate. * * Each client certificate is specific to a domain name, e.g. `acme.com` and will be used automatically by any API checks targeting that domain. * * Changing the value of any attribute forces a new resource to be created. */ export declare class ClientCertificate extends pulumi.CustomResource { /** * Get an existing ClientCertificate resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ClientCertificateState, opts?: pulumi.CustomResourceOptions): ClientCertificate; /** * Returns true if the given object is an instance of ClientCertificate. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ClientCertificate; /** * The client certificate in PEM format. */ readonly certificate: pulumi.Output; /** * The host domain that the certificate should be used for. */ readonly host: pulumi.Output; /** * Passphrase for the private key. */ readonly passphrase: pulumi.Output; /** * The private key for the certificate in PEM format. */ readonly privateKey: pulumi.Output; /** * PEM formatted bundle of CA certificates that the client should trust. The bundle may contain many CA certificates. */ readonly trustedCa: pulumi.Output; /** * Create a ClientCertificate resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ClientCertificateArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ClientCertificate resources. */ export interface ClientCertificateState { /** * The client certificate in PEM format. */ certificate?: pulumi.Input; /** * The host domain that the certificate should be used for. */ host?: pulumi.Input; /** * Passphrase for the private key. */ passphrase?: pulumi.Input; /** * The private key for the certificate in PEM format. */ privateKey?: pulumi.Input; /** * PEM formatted bundle of CA certificates that the client should trust. The bundle may contain many CA certificates. */ trustedCa?: pulumi.Input; } /** * The set of arguments for constructing a ClientCertificate resource. */ export interface ClientCertificateArgs { /** * The client certificate in PEM format. */ certificate: pulumi.Input; /** * The host domain that the certificate should be used for. */ host: pulumi.Input; /** * Passphrase for the private key. */ passphrase?: pulumi.Input; /** * The private key for the certificate in PEM format. */ privateKey: pulumi.Input; /** * PEM formatted bundle of CA certificates that the client should trust. The bundle may contain many CA certificates. */ trustedCa?: pulumi.Input; }