Manual backport 1.15.x of #17311 (#17356)

* [CC-4856] Add cloud stanza documentation

* Add environment variables to cloud descriptions

* reorder

---------

Co-authored-by: Jeremy Jacobson <jeremy.jacobson@hashicorp.com>
pull/17336/head
Hans Hasselberg 2023-05-15 14:21:16 +02:00 committed by GitHub
parent 64c29e59fb
commit 3967e33d7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -1527,6 +1527,16 @@ subsystem that provides Consul's service mesh capabilities.
part of the cluster before declaring it dead, giving that suspect node more time
to refute if it is indeed still alive. The default is 6.
## Self-managed HCP Parameters
- `cloud` This object specifies settings for connecting self-managed clusters to HCP. This was added in Consul 1.14
- `client_id` The OAuth2 client ID for authentication with HCP. This can be overridden using the `HCP_CLIENT_ID` environment variable.
- `client_secret` The OAuth2 client secret for authentication with HCP. This can be overridden using the `HCP_CLIENT_SECRET` environment variable.
- `resource_id` The HCP resource identifier. This can be overridden using the `HCP_RESOURCE_ID` environment variable.
## Join Parameters
- `rejoin_after_leave` Equivalent to the [`-rejoin` command-line flag](/consul/docs/agent/config/cli-flags#_rejoin).