Page MenuHomeDevCentral

Create a modular authentication tool
Open, NormalPublic

Description

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:

  1. Authenticate against Vault or OpenBao
  2. Get access to the .tfstate file (PEFS volume? object storage? HashiCorp SaaS?)
  3. 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

Event Timeline

dereckson triaged this task as Normal priority.Tue, Sep 15, 14:54
dereckson created this task.