Awesome CLI for Vaultier

Adrián López 5ef157dbb0 Merge pull request #43 from Telefonica/raise 2 weeks ago
contrib fbf0519ada Fix small bug in completion 3 weeks ago
vaultcli 3a1e477057 Fix small issue in raise 3 weeks ago
.gitignore 2f1f5bb1f2 Initial commit 1 month ago
LICENSE 2f1f5bb1f2 Initial commit 1 month ago
README.md 2d89c53881 Added more info about verify to readme 3 weeks ago
requirements.txt 5f4427224c Use PyCryptodome instead PyCrypto 1 month ago
setup.py 5f4427224c Use PyCryptodome instead PyCrypto 1 month ago
vault-cli.py 8107eefc5d Seek for config file, closes #1 1 month ago
vaultcli-sample.conf 5f1493699f Check server certificate, closes #27 3 weeks ago

README.md

vaultcli

Awesome CLI client for Vaultier password manager

Installation

git clone https://github.com/Telefonica/vaultier-cli.git
virtualenv3 ./vaultcli
source ./vaultcli/bin/activate
cd vaultier-cli
python setup.py install

Configure

Before run, you need to configure vaultcli. By default it looks for config file in your home dir in two valid locations.

  • ~/.config/vaultcli/vaultcli.conf
  • ~/.vaultcli.conf

You can copy the sample config file to one of these locations and edit it, or use the following fancy method to make configuration.

touch ~/.config/vaultcli/vaultcli.conf
vaultcli config email your.login.email@example.com
vaultcli config server https://your.vaultier.server.example.com
vaultcli config key /location/of/your/vaultier.key

Optionally, if your server have a self signed certificate, you can disable the certificate check.

vaultcli config verify false

Run

Simply run vaultcli command with -h or --help to read the help of command. It's self explanatory.

Happy secring!!!