H

hashicorp.com

3 integrations · REST

HashiCorp exposes HCP Terraform and HCP REST APIs plus the self-hosted Vault HTTP API, authenticated respectively with an HCP Terraform API bearer token, an HCP service-principal client-credentials bearer token, and a Vault client token sent as `X-Vault-Token` or `Authorization: Bearer`.

discovered 2mo ago
REST · OpenAPI3
Credentials
HCP Terraform API tokenbearerGet token

In HCP Terraform API tokens, create a user, team, organization, or group API token from the HCP Terraform UI. HCP Terraform only shows the token once when you create it, so copy and store it securely. Use it as Authorization: Bearer <token>.

HCP service principal client credentialsoauth2_ccSet up OAuth

Create a service principal and key following Create a service principal. Save the client_id and client_secret, then exchange them at https://auth.idp.hashicorp.com/oauth2/token with grant type client_credentials and audience https://api.hashicorp.cloud as described in HCP API Overview. Use the returned bearer access token for API calls.

Vault client tokenbearer

Authenticate to your Vault using one of its auth methods to obtain a client token, as described in Vault HTTP API authentication. You can also log in with the Vault CLI via `vault login`. Use the token as X-Vault-Token: <token> or Authorization: Bearer <token>.

conventions · 0/7 published

Publish these signals → /publishing