From e2ed2793140a6993d500f823bf656f5ba93af6cd Mon Sep 17 00:00:00 2001 From: Mohammad Date: Wed, 10 Sep 2025 14:14:22 +0200 Subject: [PATCH] feat: add support for AWS session token in S3 configuration --- cognee/infrastructure/files/storage/s3_config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cognee/infrastructure/files/storage/s3_config.py b/cognee/infrastructure/files/storage/s3_config.py index 3b59bcd57..cefe5cd2f 100644 --- a/cognee/infrastructure/files/storage/s3_config.py +++ b/cognee/infrastructure/files/storage/s3_config.py @@ -11,6 +11,7 @@ class S3Config(BaseSettings): aws_session_token: Optional[str] = None model_config = SettingsConfigDict(env_file=".env", extra="allow") + @lru_cache def get_s3_config(): return S3Config()