Initializer
Properties
| Name | Type | Description |
|---|---|---|
defaults | {[ key: string ]: any} | No description. |
workspace | string | No description. |
accessToken | string | (Required) Access token. |
path | string | (Required) Path in the Consul KV store. |
address | string | (Optional) DNS name and port of your Consul endpoint specified in the format dnsname:port. |
caFile | string | (Optional) A path to a PEM-encoded certificate authority used to verify the remote agent’s certificate. |
certFile | string | (Optional) A path to a PEM-encoded certificate provided to the remote agent; |
datacenter | string | (Optional) The datacenter to use. |
gzip | boolean | (Optional) true to compress the state data using gzip, or false (the default) to leave it uncompressed. |
httpAuth | string | (Optional) HTTP Basic Authentication credentials to be used when communicating with Consul, in the format of either user or user:pass. |
keyFile | string | (Optional) A path to a PEM-encoded private key, required if cert_file is specified. |
lock | boolean | (Optional) false to disable locking. |
scheme | string | (Optional) Specifies what protocol to use when talking to the given address,either http or https. |
defaultsOptional
- Type: {[ key: string ]: any}
workspaceOptional
- Type: string
accessTokenRequired
- Type: string
pathRequired
- Type: string
addressOptional
- Type: string
caFileOptional
- Type: string
certFileOptional
- Type: string
datacenterOptional
- Type: string
gzipOptional
- Type: boolean
httpAuthOptional
- Type: string
keyFileOptional
- Type: string
lockOptional
- Type: boolean
schemeOptional
- Type: string