From f93d5685505f702cb3d4946975dcecdf1609d556 Mon Sep 17 00:00:00 2001 From: melmus Date: Fri, 21 Apr 2023 17:04:25 +0000 Subject: [PATCH] backport of commit 816e182b684551baaadbac51b9818d3bffa22e9d --- .../configuration/service-registration/consul.mdx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/website/content/docs/configuration/service-registration/consul.mdx b/website/content/docs/configuration/service-registration/consul.mdx index eab82c0a2309..3f2a4f614dc9 100644 --- a/website/content/docs/configuration/service-registration/consul.mdx +++ b/website/content/docs/configuration/service-registration/consul.mdx @@ -21,12 +21,23 @@ a default health check. When Consul is configured as the storage backend, the st - **HashiCorp Supported** – Consul Service Registration is officially supported by HashiCorp. +## Configuration + ```hcl service_registration "consul" { address = "127.0.0.1:8500" } ``` +If Vault is running in HA mode, include the transfer protocol (`http://` or +`https://`) in the address: + +```hcl +service_registration "consul" { + address = "http://127.0.0.1:8500" +} +``` + Once properly configured, an unsealed Vault installation should be available and accessible at: