Infisical is compatible with Vault Self-hosted, HCP Vault Dedicated, and HCP Vault Enterprise deployments. Please note that HCP Generic Secrets are currently not supported.

Infisical supports two methods for connecting to Hashicorp Vault.

Getting Vault Instance URL

For self-hosted instances, locate and copy your vault’s base URL (for example: https://vault.example.com).

Save the URL for later steps.

Setup Vault Connection in Infisical

1

Navigate to App Connections

In your Infisical dashboard, go to Organization Settings and select the App Connections tab.

2

Add Connection

Click the + Add Connection button and select the Hashicorp Vault Connection option.

3

Configure Connection

Configure your Vault Connection using the Instance URL and credentials from the steps above. Depending on if you chose to authenticate with an Access Token or AppRole, you may need to input different information.

  • Name: The name of the connection being created. Must be slug-friendly.
  • Description: An optional description to provide details about this connection.
  • Instance URL: The URL of your Hashicorp Vault instance.
  • Namespace (optional): The namespace within your vault. Self-hosted and enterprise clusters may not use namespaces.
  • Role ID: The Role ID generated in the steps above.
  • Secret ID: The Secret ID generated in the steps above.
4

Connection Created

Your Vault Connection is now available for use.