From f334fccb4f7d739a3f7918185da06d9131d5cc8c Mon Sep 17 00:00:00 2001 From: Jeremy Jacobson Date: Mon, 15 May 2023 03:52:57 -0700 Subject: [PATCH] [release/1.15.3] Add cloud stanza documentation (#17311) * [CC-4856] Add cloud stanza documentation * Add environment variables to cloud descriptions --- 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 e13cd6b4e3..b19991fe04 100644 --- a/website/content/docs/agent/config/config-files.mdx +++ b/website/content/docs/agent/config/config-files.mdx @@ -1088,6 +1088,16 @@ Refer to the [formatting specification](https://golang.org/pkg/time/#ParseDurati - `bootstrap_expect` Equivalent to the [`-bootstrap-expect` command-line flag](/consul/docs/agent/config/cli-flags#_bootstrap_expect). +## 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. + ## Service Mesh Parameters ((#connect-parameters)) The noun _connect_ is used throughout this documentation to refer to the connect