2021-04-15 13:09:03 +01:00
|
|
|
# VaultUI
|
2021-05-13 08:13:38 +01:00
|
|
|
[![CI Status](https://ci.phoenix.qcx.io/api/v1/teams/purringchaos/pipelines/vaultui/badge)](https://ci.phoenix.qcx.io/teams/purringchaos/pipelines/vaultui)
|
2021-04-15 13:09:03 +01:00
|
|
|
|
|
|
|
This is a very simple UI for working with secrets in [Hashicorp Vault](https://www.hashicorp.com/products/vault)
|
|
|
|
|
|
|
|
## How to build:
|
|
|
|
```
|
|
|
|
npm install --save-dev
|
|
|
|
npx webpack
|
|
|
|
```
|
|
|
|
The resulting built files will be in `dist/`
|
|
|
|
|
|
|
|
## How to run in development:
|
|
|
|
Use whatever browser you want, I personally test on latest Microsoft Edge Dev build.
|
|
|
|
```
|
|
|
|
npm install --save-dev
|
2021-05-18 11:10:47 +01:00
|
|
|
BROWSER=google-chrome npx webpack serve --config webpack-dev.config.js
|
2021-04-18 11:56:05 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
## Translating
|
|
|
|
Make sure to keep the order of comments and tags in the translation files `src/translations` the same.
|
|
|
|
|
2021-04-24 17:20:39 +01:00
|
|
|
When you want to PR an update, title it "Changed wording in..." or "Synced translations in de" or something along those lines.
|
|
|
|
|
|
|
|
To get a list of what languages need what translations added, run `node ./checkTranslations.mjs`
|
|
|
|
Example:
|
|
|
|
```
|
|
|
|
Language: fr
|
|
|
|
Missing: unseal_input_btn, unseal_qr_btn
|
|
|
|
```
|
2021-05-05 18:28:05 +01:00
|
|
|
Means those two missing things need to be added to french.
|
|
|
|
|
|
|
|
|
|
|
|
f
|
|
|
|
## Screenshots
|
|
|
|
### Home
|
2021-05-05 18:29:35 +01:00
|
|
|
![The home page with listings for all mounted secrets engines.](screenshots/home.jpg)
|
2021-05-05 18:28:05 +01:00
|
|
|
### Cubbyhole Engine
|
2021-05-05 18:29:35 +01:00
|
|
|
![The cubbyhole page with info on how to use it.](screenshots/cubbyhole.jpg)
|
2021-05-05 18:28:05 +01:00
|
|
|
### K/V v1 Engine
|
2021-05-05 18:29:35 +01:00
|
|
|
![The view screen on the key value v1 screen with delete and edit buttons.](screenshots/kv1.jpg)
|
2021-05-05 18:28:05 +01:00
|
|
|
### K/V v2 Engine
|
2021-05-05 18:29:35 +01:00
|
|
|
![The view screen on the key value v2 screen with delete all, edit and versions buttons.](screenshots/kv2.jpg)
|
|
|
|
![Viewing a secret that can only be displayed as syntax highlighted JSON.](screenshots/kv2json.jpg)
|
|
|
|
![The versions list of a secret.](screenshots/kv2versions.jpg)
|
|
|
|
![A soft deleted secret with option to undelete.](screenshots/kv2undelete.jpg)
|
2021-05-05 18:28:05 +01:00
|
|
|
### TOTP Engine
|
|
|
|
We don't yet support `generate: true` TOTP secrets but probably will in the future.
|
2021-05-05 18:29:35 +01:00
|
|
|
![A copyable list of TOTP codes with option to add a new one.](screenshots/totp.jpg)
|
|
|
|
![A screen where you can add a new TOTP code.](screenshots/totpnew.jpg)
|
2021-05-05 18:28:05 +01:00
|
|
|
### Transit Engine
|
2021-05-05 18:29:35 +01:00
|
|
|
![Options to encrypt and decrypt using the transit engine.](screenshots/transit.jpg)
|