HashiCorp Vault icon

HashiCorp Vault

Interact with HashiCorp Vault to manage secrets

Read Secret

AI-generated

Summary

Read a secret from HashiCorp Vault.

Inputs

  • secretEngine (required) — The name of the secrets engine (mount path).
  • secretPath (required) — The path to the secret within the secrets engine.
  • version — Version of the secret to read (0 for latest).
  • additionalFields.customHeaders — Custom headers to send with the request.
  • additionalFields.timeout — Request timeout in milliseconds.

Output shape

object

The returned data varies by Vault KV engine version: for v2 it includes data, metadata, lease_duration and renewable; for v1 it includes data, lease_duration and renewable.

Discussion