UNPKG

@pulumi/consul

Version:

A Pulumi package for creating and managing consul resources.

67 lines (66 loc) 2.88 kB
import * as outputs from "../types/output"; /** * The HTTP(S) API address of the agent to use. Defaults to "127.0.0.1:8500". */ export declare const address: string | undefined; /** * Authenticates to Consul using a JWT authentication method. */ export declare const authJwt: outputs.config.AuthJwt | undefined; /** * Login to Consul using the AWS IAM auth method */ export declare const authLoginAws: outputs.config.AuthLoginAws | undefined; /** * A path to a PEM-encoded certificate authority used to verify the remote agent's certificate. */ export declare const caFile: string | undefined; /** * A path to a directory of PEM-encoded certificate authority files to use to check the authenticity of client and server connections. Can also be specified with the `CONSUL_CAPATH` environment variable. */ export declare const caPath: string | undefined; /** * PEM-encoded certificate authority used to verify the remote agent's certificate. */ export declare const caPem: string | undefined; /** * A path to a PEM-encoded certificate provided to the remote agent; requires use of `keyFile` or `keyPem`. */ export declare const certFile: string | undefined; /** * PEM-encoded certificate provided to the remote agent; requires use of `keyFile` or `keyPem`. */ export declare const certPem: string | undefined; /** * The datacenter to use. Defaults to that of the agent. */ export declare const datacenter: string | undefined; /** * A configuration block, described below, that provides additional headers to be sent along with all requests to the Consul server. This block can be specified multiple times. */ export declare const headers: outputs.config.Headers[] | undefined; /** * HTTP Basic Authentication credentials to be used when communicating with Consul, in the format of either `user` or `user:pass`. This may also be specified using the `CONSUL_HTTP_AUTH` environment variable. */ export declare const httpAuth: string | undefined; /** * Boolean value to disable SSL certificate verification; setting this value to true is not recommended for production use. Only use this with scheme set to "https". */ export declare const insecureHttps: boolean | undefined; /** * A path to a PEM-encoded private key, required if `certFile` or `certPem` is specified. */ export declare const keyFile: string | undefined; /** * PEM-encoded private key, required if `certFile` or `certPem` is specified. */ export declare const keyPem: string | undefined; export declare const namespace: string | undefined; /** * The URL scheme of the agent to use ("http" or "https"). Defaults to "http". */ export declare const scheme: string | undefined; /** * The ACL token to use by default when making requests to the agent. Can also be specified with `CONSUL_HTTP_TOKEN` or `CONSUL_TOKEN` as an environment variable. */ export declare const token: string | undefined;