Consul
HCP Consul Dedicated parameters for Consul agent configuration files
Warning
HCP Consul Dedicated will be retired on November 12, 2025. Learn more in the HCP documentation.
This page provides reference information for HCP Consul Dedicated in a Consul agent configuration file.
HCP Consul Dedicated parameters
- cloudThis object specifies settings for connecting self-managed clusters to HCP. This was added in Consul 1.14- client_idThe OAuth2 client ID for authentication with HCP. This can be overridden using the- HCP_CLIENT_IDenvironment variable.
- client_secretThe OAuth2 client secret for authentication with HCP. This can be overridden using the- HCP_CLIENT_SECRETenvironment variable.
- resource_idThe HCP resource identifier. This can be overridden using the- HCP_RESOURCE_IDenvironment variable.