oidc-plus4u-vault
v1.0.0
Published
CLI tool for managing access codes for insomnia-plugin-oidc-plus4u.
Readme
This tool for maintains AES-256 encrypted file with accessCodes to oidc.plus4u.net.
How to install ?
npm install -g oidc-plus4u-vault
How to use ?

By default, the vault password is requested interactively. For non-interactive use in CI environments, use a password file:
printf '%s' "$VAULT_PASSWORD" > vault.password
chmod 600 vault.password
oidc-plus4u-vault ls --vault-password-file vault.password
rm -f vault.passwordThe password file must contain only the vault password without quotes. A single trailing line ending is ignored. The --vault-password-file option is supported by the add, ls, rm, and import commands.
Example for a TeamCity password parameter named env.VAULT_PASSWORD:
VAULT_PASSWORD_FILE="$(mktemp)"
trap 'rm -f "$VAULT_PASSWORD_FILE"' EXIT
printf '%s' "%env.VAULT_PASSWORD%" > "$VAULT_PASSWORD_FILE"
chmod 600 "$VAULT_PASSWORD_FILE"
oidc-plus4u-vault ls --vault-password-file "$VAULT_PASSWORD_FILE"How to develop ?
Publish new version
npm packnpm publish --registry https://registry.npmjs.org/
