HashiCorp Vault
  • 24 May 2023
  • 1 Minute to read
  • Dark
    Light

HashiCorp Vault

  • Dark
    Light

Article Summary

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 the Integrations page.
  2. In the Steps section, locate the HashiCorp Vault card and click Add.
    image.png
  3. Fill in the fields for the integration.
    1. Name: a meaningful name for the integration.
    2. Vault URL: the cluster URL you copied earlier.
    3. 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.

use steps in workflows

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

Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.