OpenBao: public web UI with Let's Encrypt (secrets.animeteamspeak.moe) #51
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lab/iac#51
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of lab/machine-configs#7. Deferred from lab/iac#47.
Goal
The OpenBao web UI is reachable at a public name (
secrets.animeteamspeak.moeor similar) with a Let's Encrypt cert. Internal clients keep thepki-infrachain onsecrets.infra.int.animeteamspeak.moe.Open points
/uiplus the OIDC auth paths, not the whole/v1API. The default is no public API.oidcmount'sallowed_redirect_uris(iacvault/main.tf) still listshttps://vault.animeteamspeak.moe/ui/vault/auth/oidc/oidc/callback. Add the public name, and register it on the Kanidmvaultclient too.Done when
/v1/*outside the auth/UI paths is refused at the edge, provenRedirect URI lives in two places in this repo, both still on vault.animeteamspeak.moe: kanidm/oauth2.tf kanidm_oauth2_basic.vault (origin + redirect_uris; vault_cli origin too) and vault/main.tf animeteamspeak_default_role allowed_redirect_uris. Update both together once the public name is fixed. vault/scripts/vault-login.py VAULT_ADDR default too.
Consumer: ginjiruu/home-manager#1 (load shell secrets from OpenBao). Works on the LAN now; off-site use needs this public endpoint.