From 3967e33d7bbb7d7dca005c6be095ce8b381dabc2 Mon Sep 17 00:00:00 2001 From: Hans Hasselberg Date: Mon, 15 May 2023 14:21:16 +0200 Subject: [PATCH] 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 --- website/content/docs/agent/config/config-files.mdx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/website/content/docs/agent/config/config-files.mdx b/website/content/docs/agent/config/config-files.mdx index e13cd6b4e369..c4cc4059baab 100644 --- a/website/content/docs/agent/config/config-files.mdx +++ b/website/content/docs/agent/config/config-files.mdx @@ -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).