vault-pwgen-plugin

command module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2018 License: MIT Imports: 10 Imported by: 0

README

vault-pwgen-plugin

Vault plugin to support password generation using EFF's diceware list.

Installation

https://www.vaultproject.io/docs/plugin/index.html

Usage

vault write sys/plugins/catalog/pwgen-plugin \
  sha_256="$SHASUM" \
  command="vault-pwgen-plugin"
vault secrets enable -path=diceware -plugin-name=pwgen-plugin plugin

vault write diceware/pwgen count=2
Key         Value
---         -----
password    abmatchlessabrocklike

Or via REST API:

curl --data '{"count": 6}' "$VAULT_ADDR/v1/diceware/pwgen"
{
  "request_id": "c4f15a2b-d487-46ae-2a63-e14ccb49f1ec",
  "lease_id": "",
  "renewable": false,
  "lease_duration": 0,
  "data": {
    "password": "abdisabledabmatchlessabrocklikeabreverendabatlasabhandwrite"
  },
  "wrap_info": null,
  "warnings": null,
  "auth": null
}

License

MIT

Documentation

Directories

Path Synopsis
Inspired by https://www.eff.org/deeplinks/2016/07/new-wordlists-random-passphrases
Inspired by https://www.eff.org/deeplinks/2016/07/new-wordlists-random-passphrases

Jump to

Keyboard shortcuts

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