Skip to content

Commit

Permalink
doc/Update service_registration if use Vault HA (#19920)
Browse files Browse the repository at this point in the history
* Update service_registration if use Vault HA

* Update protocol

* Minor updates for style consistency

---------

Co-authored-by: Yoko Hyakuna <yoko@hashicorp.com>
  • Loading branch information
melmus and yhyakuna committed Apr 21, 2023
1 parent 0311096 commit 816e182
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions website/content/docs/configuration/service-registration/consul.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 816e182

Please sign in to comment.