feat: add cluster token encryption

This commit is contained in:
Philipp
2026-06-11 08:39:30 +02:00
parent 452d4c5f71
commit 82600bdf82
10 changed files with 542 additions and 0 deletions
+2
View File
@@ -22,6 +22,7 @@ type Config struct {
SupabaseJWTSecret string
RedisAddr string
AppSiteURL string
MasterKeyBase64 string
}
func Load() (Config, error) {
@@ -52,6 +53,7 @@ func Load() (Config, error) {
SupabaseJWTSecret: os.Getenv("SUPABASE_JWT_SECRET"),
RedisAddr: getenv("REDIS_ADDR", "localhost:6379"),
AppSiteURL: getenv("APP_SITE_URL", "http://localhost:5173"),
MasterKeyBase64: os.Getenv("MASTER_KEY_BASE64"),
}, nil
}