Penv Cloud
Start free
Docs
Reference

HashiCorp Vault

Move secrets to and from one Vault KV v2 path.

Move secrets to and from one Vault KV v2 path.

Connection

WhatThis provider
VendorHashiCorp
Keyvault-kv
Availabilityavailable. You can connect it today.
Credential we holdvault-token
Values read backyes
Activationimmediate

Directions

DirectionWhat it does
importWe read names and values out of the store into your environment.
exportWe write names and values from your environment into the store.

Activation

immediate. The running app sees a new value at once.

Conflict policies

DirectionPolicies you can pick
importskip_existing, new_version, fail
exportcreate_only, overwrite, overwrite_and_prune

How syncs work says what each one does.

Connect

Paste a credential from the vendor. We seal it and never show it again.

FieldLabelKindRequiredWhat it is
tokenVault tokensecret; we mask it here and seal ityesVault tokens expire. A connection that verified today can be dead tomorrow with nothing changed here. Use a token with a lease long enough for your sync schedule, and renew it.

Connection fields

You set these when you connect. Every mapping on the connection shares them.

FieldLabelKindRequiredAdvancedWhat it is
addressVault addresstextyesnoMust be reachable from the public internet over HTTPS.
namespaceNamespacetextnoyesEnterprise and HCP only. Leave empty for open-source Vault.

Mapping fields

You answer these once per environment you map.

FieldLabelKindRequiredAdvancedWhat it is
mountKV mounttextyesnoMust be a KV version 2 mount.
pathPathtextyesnoOne path per sync. Every key stored there is one secret here.

Required permissions

We probe for these when we verify the connection.

PermissionDirectionsBlockingWithout it
readimportyesImport cannot read the path.
createexportyesExport cannot write a path that does not exist yet.
patchexportyesExport cannot change a path without replacing everything else stored there.