feat: encrypt environment variables at rest with AES-256-GCM

This commit is contained in:
Mauricio Siu
2026-07-10 02:33:18 -06:00
parent 1c4414165d
commit 1cb9491013
14 changed files with 238 additions and 18 deletions
+2 -1
View File
@@ -37,6 +37,7 @@ import {
import {
DATABASE_PASSWORD_MESSAGE,
DATABASE_PASSWORD_REGEX,
encryptedText,
generateAppName,
} from "./utils";
@@ -58,7 +59,7 @@ export const libsql = pgTable("libsql", {
enableNamespaces: boolean("enableNamespaces").notNull().default(false),
dockerImage: text("dockerImage").notNull(),
command: text("command"),
env: text("env"),
env: encryptedText("env"),
// RESOURCES
memoryReservation: text("memoryReservation"),
memoryLimit: text("memoryLimit"),