Aller au contenu principal

Vaultwarden — Password Management

Self-hosted Bitwarden-compatible password manager for the ktayl-solution IS. All IS credentials (service accounts, API keys, admin passwords) are stored in Vaultwarden — not in Slack, email, or shared spreadsheets.

Access

URLAudience
https://vault-pw.devandre.sbsPublic (Cloudflare Tunnel)
https://vault-pw.10.0.0.200.nip.ioInternal (Tailscale only)

Login: Authentik SSO button on the login page. Direct email/password login is disabled.

:::warning SSO-only access Vaultwarden uses the Timshel fork (timshel/vaultwarden:1.34.1-6) which adds the Authentik SSO button. Standard vaultwarden/server image does not support SSO login — do not upgrade to it without checking fork compatibility. :::

Deployment

ParameterValue
Namespacevaultwarden
Imageghcr.io/timshel/vaultwarden:1.34.1-6
Managed byArgoCD
StorageLonghorn PVC
AuthAuthentik OIDC SSO
BackupVelero (daily Longhorn snapshot)
kubectl --context minicloud get pods -n vaultwarden
kubectl --context minicloud get ingress -n vaultwarden

Credential Inventory

15 IS credentials managed across these folders:

FolderContents
Platform infraHarbor admin, ArgoCD admin, Grafana admin, MinIO root, Vault root token
External servicesCloudflare API token, AWS SES credentials, Tailscale OAuth
Business appsERPNext admin, Docuseal API token, Plane admin
MailStalwart admin, SES SMTP credentials
k3s clusterMAAS admin, controller SSH keypair

CLI access (controller)

A pinned bw CLI version is installed on the controller for scripted access:

BW=~/.local/share/bw-compat/bw # v2024.6.0 — v2026+ incompatible with this Vault version

$BW config server https://vault-pw.devandre.sbs
BW_SESSION=$($BW unlock --passwordenv BW_PASSWORD --raw)
$BW --session $BW_SESSION list items --folderid <folder-id>
$BW --session $BW_SESSION get item "Harbor admin"
$BW lock

:::caution CLI version lock The bw CLI v2025+ changed the API format in a way that breaks against this Vaultwarden version. Use only ~/.local/share/bw-compat/bw (v2024.6.0). Do not brew upgrade bw. :::

Relation to Vault (HashiCorp)

Vaultwarden and HashiCorp Vault serve different purposes:

VaultwardenHashiCorp Vault
UsersHumans (password manager UI)Services (ESO, k3s pods)
AccessBrowser / Bitwarden appAPI / Vault Agent
StoredCredentials humans need to log inDynamic secrets, PKI, app secrets
AuthAuthentik SSOKubernetes SA, AppRole

Platform secrets (CI tokens, app secrets) live in HashiCorp Vault at vault.devandre.sbs. Human credentials live in Vaultwarden.