From f81e63dd67a1b1c40f2891034cf81a529a37263e Mon Sep 17 00:00:00 2001 From: blackstar257 <4362234+blackstar257@users.noreply.github.com> Date: Wed, 2 Jul 2025 21:01:58 -0700 Subject: [PATCH] add api key expires in --- docs/getting-started/env-configuration.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/getting-started/env-configuration.md b/docs/getting-started/env-configuration.md index 59db72de6b..0fc3becc19 100644 --- a/docs/getting-started/env-configuration.md +++ b/docs/getting-started/env-configuration.md @@ -843,6 +843,13 @@ The value of `API_KEY_ALLOWED_ENDPOINTS` should be a comma-separated list of end ::: +#### `API_KEY_EXPIRES_IN` + +- Type: `int` +- Default: `-1` +- Description: Sets the API key expiration time in seconds. Valid time units: `s`, `m`, `h`, `d`, `w` or `-1` for no expiration. +- Persistence: This environment variable is a `PersistentConfig` variable. + #### `JWT_EXPIRES_IN` - Type: `int`