feat: authelia use external secrets from vault

This commit is contained in:
2026-06-22 11:51:06 +00:00
parent a96758620c
commit d276ef403a
2 changed files with 44 additions and 4 deletions
+30
View File
@@ -0,0 +1,30 @@
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: authelia-secret
namespace: authelia
spec:
refreshInterval: 1h
secretStoreRef:
name: vault-backend
kind: ClusterSecretStore
target:
name: authelia-secrets
creationPolicy: Owner
data:
- secretKey: AUTHELIA_IDENTITY_VALIDATION_RESET_PASSWORD_JWT_SECRET_FILE
remoteRef:
key: secret/authelia
property: resetPasswordSecret
- secretKey: AUTHELIA_SESSION_SECRET_FILE
remoteRef:
key: secret/authelia
property: sessionEncryptionKey
- secretKey: AUTHELIA_STORAGE_ENCRYPTION_KEY_FILE
remoteRef:
key: secret/authelia
property: storageEncryptionKey
- secretKey: AUTHELIA_STORAGE_POSTGRES_PASSWORD_FILE
remoteRef:
key: secret/authelia
property: postgresPassword