vault-pgpass

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

README

vault-pgpass

GoDoc Quality Test Release License

generate a pgpass file from configuration using secrets stored in vault

Uses KVv2

Usage

See example-configuration.yml for configuration example

Usage of vault-pgpass:
  -f string
    	specify location for your configuration file
  -g	generate an example configuration file
  -o string
    	output file or omit for stdout
  -t string
    	vault token to use

Example

Generate a new example configuration

vault-pgpass -g -o example.yml

Write a pgpass file to .pgpass using configuration.yml and a token

vault-pgpass -f configuration.yml -t <TOKEN> -o .pgpass

Omitting -o writes to stdout

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL