Skip to content

RedHatQE/vaultrun

Repository files navigation

vault-cli

Vault cli helper

Requirements

rofi or dmenu needs to be installed. Optionally, xsel, if exists, selected secrets will be copied to clipboard.

config file should be located at /home/{user}/.config/vaultrun/config.yaml with:

name:
  mount_point: <Secret mount point>
  secret_path: <Secret path to query>
  # If role_id and secret_id are not provided, use OIDC login
  role_id: <Role ID>
  secret_id: <Secret ID>

Installation

from Pypi:

python -m pip3 install vaultrun```

Local installation:

poetry install

Usage

From Pypi:

vaultrun

Local run:

poetry run vaultrun