User story
"As a systems engineer needing to deploy, I'd like to authenticate to ... for ..."
Specifications
The tool should have:
- Hybrid interface, TUI and as command line arguments
- We can write $SOFTWARE and gets a menu to select what we need
- We can directly write the query in command line
- Can accept several back-ends
- Vault/OpenBao will be implemented fist
- Can export to several formats
- Environment variables
- kubeconfig
- openrc
- ini
- toml
- Can compose authentication stacks (e.g. 3 Terraform providers)
Some examples
If this is for Terraform or OpenTofu, you need to do several things:
- Authenticate against Vault or OpenBao
- Get access to the .tfstate file (PEFS volume? object storage? HashiCorp SaaS?)
- Populate environment variables for providers
Then, let's add Kubernetes in the mix. There is a kubeconfig file.
We perhaps need to debug OpenStack. There is an openrc file.
Prior art
Efficient aliases through YAML configuration: https://github.com/nasqueron/operations/blob/main/roles/devserver/userland-home/files/dereckson/.shell.yml