Vault-Get
A small application connects to Vault and outputs the value of a path using user/password authentication.
Getting Started
Application is packed as a single binary, just download and run.
Prerequisites
Nothing.
Usage
The help section explains everything:
NAME:
vault-get - Get a value fron Vault
USAGE:
vault-get [global options] command [command options] [arguments...]
VERSION:
0.5.0
COMMANDS:
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--vault_host value Vault host url [$VAULT_HOST]
--vault_username value Vault username [$VAULT_USERNAME]
--vault_password value Vault password [$VAULT_PASSWORD]
--vault_path value Vault path of the secret. eg. secret/my-secret [$VAULT_PATH]
--help, -h show help
--version, -v print the version
Deployment
Download a release compatible to your OS and run the application.
Example to use in you bash script:
eval "$(vault-get --vault_host https://vault.example.com --vault_username user --vault_password pass --vault_path secret/my-secret)"
Built With
Contributing
Please read CONTRIBUTING.md
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
License
This project is licensed under the MIT License - see the LICENSE.md file for details