For the complete documentation index, see llms.txt. This page is also available as Markdown.

HashiCorp Vault Environment Setup

Setting up your HashiCorp Vault environment to work with KeeperPAM

HashiCorp Vault Environment Overview

HashiCorp Vault secrets can be managed by a KeeperPAM Gateway using a specified token configured in the PAM Configuration record. This guide provides step-by-step instructions for configuring the PAM Configuration for your HashiCorp Vault tenant.

NOTE: Currently HashiCorp PAM can only be used for Universal Secrets Sync.

Prerequisites

  1. Prior to proceeding with this guide, make sure to install and configure your Keeper Gateway.

  2. Create a long-lived personal access token with a narrowly scoped policy that the Gateway can. use. The easiest supported method is through the use of an orphan periodic token. For example, this command generates a token valid for a period of one year between renewals:

vault token create -orphan -period=8760h -policy="<least-privilege-policy>" -display-name="one-year-token"

For additional Token generation methods, see HashiCorp's documention here.

Setting up HashiCorp PAM Configuration

HashiCorp PAM Configuration is currently available using Keeper Commander CLI

Create a HashiCorp PAM Configuration

Once all the steps above have been taken, add a new PAM Configuration for HashiCorp Vault

  • HashiCorp ID: a useful name

  • Vault Address: The URL of your Vault server or cluster. For self-hosted Vault Enterprise or Community Edition, use your server address (e.g. https://vault.mycompany.com:8200). For HCP Vault Dedicated, use your cluster's public endpoint (e.g. https://xxx.vault.hashicorp.cloud:8200).

  • Vault Token: token value from above

  • Namespace (optional): The Vault namespace to target for all sync operations. Leave blank for Vault Community Edition or a self-hosted Enterprise cluster using the root namespace. For HCP Vault Dedicated, enter admin unless your organization uses a custom namespace.

  • KV Mount Path (optional): The mount point of the KV v2 secrets engine where secrets will be written. Defaults to secret if left blank.

Last updated