Skip to main content
HashiCorp Vault

Securely manage secrets with HashiCorp Vault in Torq: setup guide, integration, and workflow steps for KV secrets.

Updated over 7 months ago

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.

  1. In your organization, go to your Vault.

    image.png
  2. Access the relevant cluster.

    image.png
  3. Copy the cluster URL.

    image.png
  4. Generate an admin token.

    image.png

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.

  1. Go to Build > Integrations > Steps > HashiCorp Vault and click Add.

  2. Give the integration a meaningful name.

  3. Paste in the cluster URL you copied earlier.

  4. 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

Did this answer your question?