Skip to content

Commit 496b09a

Browse files
chore: update sourcebot encryption key message to include info about invalidating api keys
1 parent e30e75e commit 496b09a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/shared/src/env.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ const options = {
342342
// requirement means this must be exactly 32 characters. Generate one with
343343
// `openssl rand -base64 24` (24 random bytes => a 32-character base64 string).
344344
SOURCEBOT_ENCRYPTION_KEY: z.string().length(32, {
345-
message: "SOURCEBOT_ENCRYPTION_KEY must be exactly 32 characters (a 256-bit AES key). Generate one with `openssl rand -base64 24`.",
345+
message: "SOURCEBOT_ENCRYPTION_KEY must be exactly 32 characters (a 256-bit AES key). Generate one with `openssl rand -base64 24`.\nWARNING: Updating this value will invalidate any existing API keys.",
346346
}),
347347
SOURCEBOT_INSTALL_ID: z.string().default("unknown"),
348348
SOURCEBOT_LIGHTHOUSE_URL: z.string().url().default("https://deployments.sourcebot.dev"),

0 commit comments

Comments
 (0)