Skip to content

Vault Terminal UI proof of concept#6108

Closed
dennis-tra wants to merge 7 commits intohashicorp:masterfrom
dennis-tra:master
Closed

Vault Terminal UI proof of concept#6108
dennis-tra wants to merge 7 commits intohashicorp:masterfrom
dennis-tra:master

Conversation

@dennis-tra
Copy link
Copy Markdown

@dennis-tra dennis-tra commented Jan 25, 2019

Hello everybody,

first of all thanks a lot for the awesome work you're providing here. This is my attempt to give something back :)

The last few days I built a prototype of a terminal UI which allows browsing through Vault's secret hierarchy tree by running

vault browse secret/folder

2019-01-25 22 42 09

We often need to reference deeply nested secrets in our terraform scripts. Getting the path and key right requires a series of vault lists and vault reads. Doing this is quite tedious and switching to the web UI is not convenient for this use case either.

Initially I built the prototype in python by using curses and the hvac client. Then I thought it'd make a good fit in the original vault CLI, so I ported it to Go by using termbox. A more sophisticated library like termui may also be a good fit for this use case.

I actually should have read your contribution guidelines before I started this little endeavour:

That said, if you want to ensure that a pull request is likely to be merged, talk to us! You can find out our thoughts and ensure that your contribution won't clash or be obviated by Vault's normal direction. A great way to do this is via the Vault Google Group.

But anyways, here I am :) This is just a proof of concept and I would like to hear your thoughts.

I think this could also be beneficial to others as it provides a convenient way of browsing, searching and finding the right secret.

If you think this is a little project worth pursuing I would love to help out. Thanks in advance!

Cheers,
Dennis

@hashicorp-cla
Copy link
Copy Markdown

hashicorp-cla commented Jan 25, 2019

CLA assistant check
All committers have signed the CLA.

@fredrikhgrelland
Copy link
Copy Markdown
Contributor

@dennis-tra did you close this for good? I have the same need in the client. Did you get any response from HashiCorp on this effort?

@dennis-tra
Copy link
Copy Markdown
Author

Hi @fredrikhgrelland,

yes, I closed this for good. It's been over a year since I created this PR and I didn't receive any response. This PR constantly occupied the top of my GitHub activity feed and because there was no engagement from HashiCorp I saw no point in leaving this open. The code is also out of date by now and would need an update.

However I still think it's a valuable addition to the current CLI and under different circumstance I would have been willing to help out here.

@jefferai
Copy link
Copy Markdown
Member

I think it looks really cool, just not something we'd want to pull into the main tree. I do encourage you to develop it as a separate project and we could link to it from our website.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants