Skip to content
Connector

HashiCorp Vault KV

HashiCorp Vault KV v2 secrets engine connector.

@ftnt-dspilleMaintainer v1.2.1 Published Oct 13, 2026 Updated Oct 16, 2026
Download .tgz · 23 KB

hashicorp-vault-kv_1.2.1.tgz

sha256:f913fdbc8a9ea4fbe1bd6bc9d9c619fcbf88ba17d3f013943b9321475c94f851
Source repository

Community code that runs on your platform. A maintainer reviewed this exact source; the download is rebuilt from it. Follow the to install it.

Configuration · 5 fields

  • Server URL server text required

    Base URL of the HashiCorp Vault server, for example http://10.0.0.1:8200.

  • Token token password required

    Vault token used for authentication. Grant only what your playbooks use: read/list on metadata and patch on data is enough to find tagged secrets and update them without being able to read them.

  • KV v2 Mount Path mount text

    Mount path of the KV version 2 secrets engine. Default: secret.

    Default secret

  • Verify SSL verify_ssl checkbox

    Specifies whether the SSL certificate of the Vault server is to be verified. Uncheck for self-signed certificates.

    Default true

  • Request Timeout (seconds) timeout text

    Per-request timeout in seconds applied to every Vault HTTP call.

    Default 30

Operations · 10

  • Get Health
    get_health

    Verify connectivity and token validity against Vault by looking up the token itself (auth/token/lookup-self).

    No parameters.

    Returns typeproperties
  • Read Secret 2 params
    read_secret

    Read a secret from the KV v2 mount. Optionally read a specific (historic) version; by default the latest version is returned. The result includes the secret's data, the version number and the metadata.

    • Secret Path path text required

      Path of the secret under the mount, without the leading mount name (e.g. myapp/api for secret/myapp/api).

    • Version version text

      (Optional) Read this historic version instead of the latest one.

    Returns typeproperties
  • Write Secret 3 params
    write_secret

    Write a secret to the KV v2 mount. This creates a NEW VERSION of the secret (existing fields are not merged, so include every field you want kept). Downstream consumers watching version changes will observe the bump. Returns the new version number.

    • Secret Path path text required

      Path of the secret under the mount.

    • Secret Data (JSON) secret_data text required

      JSON object with all fields of the secret. Every existing field you omit is dropped by the versioning semantics - resend fields you want kept.

    • Create Only create_only checkbox

      Refuse the write if a secret already exists at the path (Vault check-and-set 0), so a new secret never overwrites one.

      Default false

    Returns typeproperties
  • Update Secret Fields 3 params
    patch_secret

    Change only the given fields of an existing secret, keeping every other field (an HTTP PATCH, which creates a new version). Needs only the patch capability on the data path - not read. Retried on network errors and server errors; a refused policy (403) or a missing secret (404) is not retried.

    • Secret Path path text required

      Path of an existing secret under the mount.

    • Fields (JSON) secret_data text required

      JSON object of only the fields to change. Fields you leave out keep their current values.

    • Retries retries integer

      (Optional) Extra attempts after a network or server error. Default 3, at most 10.

    Returns typeproperties
  • Get Secret Metadata 2 params
    read_metadata

    Read a secret's metadata: its custom metadata tags, current version and whether that version is deleted. Never returns the secret's value.

    • Secret Path path text required

      Path of the secret under the mount.

    • Missing Is OK missing_ok checkbox

      Answer exists=false for a path with no secret, instead of failing.

      Default false

    Returns typeproperties
  • Update Secret Metadata 2 params
    patch_metadata

    Add or change custom metadata tags on a secret, keeping its other tags. Set a tag to null to remove it. Values are stored as text. Does not create a new secret version.

    • Secret Path path text required

      Path of the secret under the mount.

    • Custom Metadata (JSON) custom_metadata text required

      JSON object of tags to set, for example {"faig_key_id": "<uuid>"}. A null value removes that tag.

    Returns typeproperties
  • Find Secrets by Metadata 4 params
    find_secrets_by_metadata

    Find the secrets under a path whose custom metadata carries a tag, and its value. Vault cannot search, so this lists every secret under the path (including sub-folders) and reads each one's metadata - never a secret value. A secret whose latest version is deleted does not count. Given values, sorts each into matches (exactly one secret), unmatched (none) and conflicts (more than one).

    • Path path text

      (Optional) Folder to search, including its sub-folders. Empty searches the whole mount.

    • Metadata Key metadata_key text required

      Custom metadata tag to look for.

    • Values values text

      (Optional) Tag values to look up, as a JSON array or comma-separated text. Adds matches, unmatched and conflicts to the result.

    • Max Secrets max_paths integer

      (Optional) Stop with an error past this many secrets, so a wrong path cannot walk the whole mount. Default 1000.

    Returns typeproperties
  • List Secrets 1 param
    list_secrets

    List the secret keys under a path in the KV v2 mount.

    • Path path text

      (Optional) List keys under this path. Empty lists keys directly under the mount root.

    Returns typeproperties
  • Delete Secret Version 1 param
    delete_secret

    Soft-delete the latest version of a secret in the KV v2 mount. Earlier versions remain readable by version number.

    • Secret Path path text required

      Path of the secret under the mount.

    Returns typeproperties
  • Execute API Request 4 params
    execute_api_request

    Calls any Vault HTTP API endpoint with the configured token. A full URL is refused so the token only ever goes to the configured server.

    • Endpoint endpoint text required

      Path on the Vault server, for example /v1/sys/health or /v1/secret/data/myapp. /v1 is added when missing.

    • Method method select

      HTTP method. Defaults to GET. LIST is Vault's list verb.

      Default GET

      Options GETPOSTPUTPATCHDELETELIST
    • Query Parameters query_params json

      (Optional) JSON object of query string parameters.

    • Request Body request_body json

      (Optional) JSON object sent with POST, PUT and PATCH.

Something wrong with this item? Sign in to report

Report a problem

Sensitive data, copied content, broken imports, anything that shouldn't be here.

At least 10 characters. Please don't paste the sensitive value itself.0/1000