feat: add Vault as an Authentik OIDC app for human/CLI login
Confidential client for 'vault login -method=oidc' and the Vault UI's oidc auth method. homelab-admins gets bound automatically like every other app in SERVICES. Client secret generated on first provision run into iam/vault-oidc.
This commit is contained in:
@@ -394,6 +394,22 @@ SERVICES = {
|
|||||||
"launch_url": "https://img.riotpiao.com",
|
"launch_url": "https://img.riotpiao.com",
|
||||||
"display_name": "Immich",
|
"display_name": "Immich",
|
||||||
},
|
},
|
||||||
|
"vault": {
|
||||||
|
# Human/CLI login only (`vault login -method=oidc`) - not wired to any
|
||||||
|
# workload. No secret exists yet - generate + store on first run.
|
||||||
|
# localhost:8250/oidc/callback is the vault CLI's documented fixed
|
||||||
|
# callback port for `vault login -method=oidc`; the other is the
|
||||||
|
# browser/UI flow's callback path (mount path "oidc").
|
||||||
|
"client_secret_source": ("iam", "vault-oidc", "CLIENT_SECRET"),
|
||||||
|
"generate_if_missing": True,
|
||||||
|
"extra_secret_literals": {"client-id": "vault"},
|
||||||
|
"redirect_uris": [
|
||||||
|
"https://vault.riotpiao.com/ui/vault/auth/oidc/oidc/callback",
|
||||||
|
"http://localhost:8250/oidc/callback",
|
||||||
|
],
|
||||||
|
"launch_url": "https://vault.riotpiao.com",
|
||||||
|
"display_name": "Vault",
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
app_pks_for_binding = []
|
app_pks_for_binding = []
|
||||||
|
|||||||
Reference in New Issue
Block a user