Caiyeon / goldfish
- среда, 23 августа 2017 г. в 03:14:33
A HashiCorp Vault UI panel written with VueJS and Vault native Go API
Goldfish is a HashiCorp Vault UI
Goldfish answers many auditing and administration questions that Vault API can't:
Seriously, the instructions fit on one screen!
You'll need go (v1.8), nodejs (v6), and npm (v5)
# hashicorp vault ui
# clone goldfish
go get github.com/caiyeon/goldfish
cd $GOPATH/src/github.com/caiyeon/goldfish
# running goldfish server in -dev will spin up a local vault instance for you
go run server.go -dev
# running goldfish frontend in dev mode will allow for hot-reload of frontend files
cd frontend
sudo npm install -g cross-env
npm install
npm run dev
# a browser window/tab should open, pointing directly to goldfish
A vagrantfile is available as well
You'll need Vagrant and VirtualBox. On Windows, a restart after installation is needed.
# if you wish to launch goldfish in a VM:
git clone https://github.com/Caiyeon/goldfish.git
cd goldfish/vagrant
# this will take awhile
vagrant up --provision
# open up localhost:8001 in chrome on your local machine. You can login with token 'goldfish'
Goldfish is in very active development:
Pull requests and feature requests are welcome. Feel free to suggest new workflows by opening issues.
Frontend:
Backend:
See: Architecture
This server should behave as a goldfish, forgetting everything immediately after a request is completed. That, and other inside-joke reasons.
Credits for the goldfish icon goes to Laurel Chan