From 04bdd029fefbce08184c12809b5d6e4bf2a12fa1 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Thu, 30 Dec 2021 20:42:56 +0100 Subject: Add TLS support for Consul --- src/config/options.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/config/options.rs') diff --git a/src/config/options.rs b/src/config/options.rs index f62d14c..7334083 100644 --- a/src/config/options.rs +++ b/src/config/options.rs @@ -37,6 +37,12 @@ pub struct ConfigOptsConsul { pub node_name: Option, /// Consul's REST URL [default: "http://127.0.0.1:8500"] pub url: Option, + /// Consul's CA certificate [default: None] + pub ca_cert: Option, + /// Consul's client certificate [default: None] + pub client_cert: Option, + /// Consul's client key [default: None] + pub client_key: Option, } /// Model of all potential configuration options -- cgit v1.2.3