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 Build > Integrations > Steps > HashiCorp Vault and click Add.
Give the integration a meaningful name.
Paste in the cluster URL you copied earlier.
Paste in the admin token you generated and copied earlier.
Premade 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