ARTIFACT-STORE-WP-0007 D7.4: STS temporary credential support (session token + refreshable file refs)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-02 11:23:44 +02:00
parent 68a5ff0ba2
commit 8fbce69475
8 changed files with 170 additions and 14 deletions

View File

@@ -51,6 +51,7 @@ def minio_backend() -> S3Backend:
key_prefix=environ.get("ARTIFACTSTORE_MINIO_KEY_PREFIX", f"compat/{uuid4()}"),
access_key_id=environ["ARTIFACTSTORE_MINIO_ACCESS_KEY"],
secret_access_key=environ["ARTIFACTSTORE_MINIO_SECRET_KEY"],
session_token=environ.get("ARTIFACTSTORE_MINIO_SESSION_TOKEN") or None,
storage_class=environ.get("ARTIFACTSTORE_MINIO_STORAGE_CLASS") or None,
sse=environ.get("ARTIFACTSTORE_MINIO_SSE") or None,
multipart_threshold_bytes=5 * _MIB,