2025-07-02 10:04:19 +02:00
|
|
|
declare namespace NodeJS {
|
|
|
|
|
interface ProcessEnv {
|
|
|
|
|
// Allow any environment variable that matches the pattern
|
|
|
|
|
[key: `${string}_AUDIENCE`]: string; // The system api url
|
|
|
|
|
[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
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The Zitadel API url
|
|
|
|
|
*/
|
|
|
|
|
ZITADEL_API_URL: string;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The service user token
|
|
|
|
|
*/
|
|
|
|
|
ZITADEL_SERVICE_USER_TOKEN: string;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Optional: wheter a user must have verified email
|
|
|
|
|
*/
|
|
|
|
|
EMAIL_VERIFICATION: string;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Optional: custom request headers to be added to every request
|
|
|
|
|
* Split by comma, key value pairs separated by colon
|
2025-08-05 17:59:30 +02:00
|
|
|
* For example: to call the Zitadel API at an internal address, you can set:
|
|
|
|
|
* `CUSTOM_REQUEST_HEADERS=Host:http://zitadel-internal:8080`
|
2025-07-02 10:04:19 +02:00
|
|
|
*/
|
|
|
|
|
CUSTOM_REQUEST_HEADERS?: string;
|
|
|
|
|
}
|
|
|
|
|
}
|