Files
zitadel/apps/login/next-env-vars.d.ts

36 lines
1.1 KiB
TypeScript
Raw Normal View History

declare namespace NodeJS {
interface ProcessEnv {
2025-01-30 08:27:52 +01:00
// Allow any environment variable that matches the pattern
[key: `${string}_AUDIENCE`]: string; // The system api url
2025-01-30 08:35:45 +01:00
[key: `${string}_SYSTEM_USER_ID`]: string; // The service user id
[key: `${string}_SYSTEM_USER_PRIVATE_KEY`]: string; // The service user private key
AUDIENCE: string; // The fallback system api url
SYSTEM_USER_ID: string; // The fallback service user id
SYSTEM_USER_PRIVATE_KEY: string; // The fallback service user private key
/**
* Self hosting: The Zitadel API url
*/
ZITADEL_API_URL: string;
/**
* Takes effect only if ZITADEL_API_URL is not empty.
* This is only relevant if Zitadels runtime has the ZITADEL_INSTANCEHOSTHEADERS config changed.
* The default is x-zitadel-instance-host.
* Most users don't need to set this variable.
*/
2025-02-14 11:47:51 +01:00
ZITADEL_INSTANCE_HOST_HEADER: string;
/**
2025-01-14 13:40:36 +01:00
* Self hosting: The service user token
*/
2025-01-23 10:41:17 +01:00
ZITADEL_SERVICE_USER_TOKEN: string;
2025-01-14 13:40:36 +01:00
/**
* Optional: wheter a user must have verified email
*/
EMAIL_VERIFICATION: string;
}
}