- 24 May 2023
- 1 Minute to read
- DarkLight
HashiCorp Vault
- Updated on 24 May 2023
- 1 Minute to read
- DarkLight
HashiCorp Vault enables you to securely store and tightly control access to tokens, passwords, certificates, and encryption keys to protect secrets and other sensitive data.
You can use this integration to execute steps that set and get KV-V1 and KV-V2 secrets in Torq workflows, as well as for external secret management. The HashiCorp Vault AppRole integration can also be used for external secret management (choose which integration to use according to your authentication preferences).
Get your Vault URL and Vault token
In order to create a HashiCorp Vault integration in Torq you'll need your Vault URL and Vault token.
These instructions assume you have an active vault and cluster.
- In your organization, go to your Vault.
- Access the relevant cluster.
- Copy the cluster URL.
- Generate an admin token.
Create a HashiCorp Vault integration in Torq
The integration stores your HashiCorp Vault URL and token. The integration is used to authenticate HashiCorp Vault steps in a workflow.
- Go to the Integrations page.
- In the Steps section, locate the HashiCorp Vault card and click Add.
- Fill in the fields for the integration.
- Name: a meaningful name for the integration.
- Vault URL: the cluster URL you copied earlier.
- Vault Token: the admin token you generated and copied earlier.
Use HashiCorp Vault steps in a workflow
When you add a HashiCorp Vault step to a workflow, you'll need to select which integration to use to authenticate the step.
Available steps
These are the premade steps for HashiCorp Vault. Don't see the steps you need? No problem, you can easily create custom steps.
- Get KV-V1 secret
- Get KV-V2 secret
- Set KV-V1 secret
- Set KV-V2 secret