3 ms·
I find it particularly hard to manage Vault from the CLI. I deployed it some time ago and set up a bunch of backends, I don't recall the names of things or how
by alias_neo 6y ago
I find it particularly hard to manage Vault from the CLI. I deployed it some time ago and set up a bunch of backends, I don't recall the names of things or how I configured them and I want to backup that config to replicate it.
The auto complete will give you the top level command and that's it.
I haven't looked too hard because I got fed up, but i just want to dump the entire config so I can replicate it without having to remember each thing I configured.
- RulerOf 6y agoI've been there. You basically want to be able `cd` into vault and list the contents interactively, but you can't. While the Web UI is probably the best vault explorer available, you might want to take a look at Vaku[1]. [1]: https://github.com/lingrino/vaku/blob/main/docs/cli/vaku.md#synopsis https://github.com/lingrino/vaku/blob/main/docs/cli/vaku.md#...
- alias_neo 6y agoThanks, I'll check it out.
- ddreier 6y agoWe use Terraform to manage as much of the configuration of Vault (and Consul and Nomad) as we can. The provider is pretty good. This makes it a lot easier to get a 1000ft view of the configuration.
- alias_neo 6y agoThis is ultimately my goal. Our current state has been prototyped iteratively over a year or so. The goal is to replicate and document the current state so that we can automate it such as with Terraform. Unfortunately, unlike, say Kubernetes, which encourages a declarative approach, learning to integrate and use Vault comes with a lot of imperative operations, none of which is stored anywhere for reuse.