GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - bva/vault-pps-plugin: Vault plugin for Pleasant Password Server

BranchesTags
Open more actions menu

Latest commit

 

History

36 Commits
36 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
pleasant
pleasant
 
 
.gitignore
.gitignore
 
 
.goreleaser.yml
.goreleaser.yml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
main.go
main.go
 
 

Repository files navigation

Vault plugin for Pleasant Password Server

Plugin for Hashicorp's Vault, which connects it to Pleasant Password Server.

Note: This plugin supports Pleasant Password Server REST API v4 (/api/v4/rest/, Pleasant Password Server 7.0 – 7.9.x) only.

Installation

Download and build Go plugin sources:

go install github.com/bva/[email protected]

You will need to define a plugin directory using the plugin_directory configuration directive in Vault configutration, then place the vault-pss executable generated above in the directory.

cp $GOPATH/bin/vault-pps-plugin /etc/vault/plugins
export VAULT_PPS_SHA256_SUM=`shasum -a 256 /etc/vault/plugins/vault-pps-plugin | awk '{ print $1; }'`

Register vault-pps-plugin plugin with vault and mount it in Vault pps path:

vault write sys/plugins/catalog/vault-pps-plugin sha_256=$VAULT_PPS_SHA256_SUM command=vault-pps-plugin
vault secrets enable -path=pps -plugin-name=vault-pps-plugin plugin
vault write pps/config/access url="$PPS_URL" user_name="$PPS_USER" password="$PPS_PASSWORD"
Parameter Default Description
url — URL for Pleasant Password Server (e.g. https://localhost:8001/)
user_name — Username in Pleasant Password Server under which Vault plugin connects
password — Password for username in Pleasant Password Server under which Vault plugin connects
tree_ttl 300s Full credential tree refresh interval in seconds or Go duration (e.g. 300, 5m, 10m)
miss_cooldown 30s Cooldown between partial group refreshes on cache miss in seconds or Go duration (30s)
http_timeout 30s HTTP client timeout for Pleasant Password Server requests in seconds or Go duration (30s)
experimental_invalidate_on_miss false When true, reloads the nearest cached parent group from PPS on Read/List cache miss
experimental_parallel_requests false When true, allows concurrent outbound HTTP requests to PPS instead of serializing them

Accessing Pleasant Password secrets from Vault:

vault kv get pps/<folder>/<secret>

Reading credential metadata (Id, Name, Username, Url, Notes, Custom:*, Attachment:*) without fetching the plaintext password from Pleasant Password Server:

vault read pps/<folder>/<secret> metadata=true
# or via HTTP API: GET /v1/pps/<folder>/<secret>?metadata=true

About

Vault plugin for Pleasant Password Server

Topics

hashicorphashicorp-vaultpleasant-password-servervault

Resources

Readme
Apache-2.0 license
Activity

Stars

2 stars

Watchers

2 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.