v.25.11Improvement

Cache S3 credentials interacting

Cache S3 credentials interacting with STS endpoint so they can be reused for different function calls. Amount of cached credentials can be controlled with s3_credentials_provider_max_cache_size. #89734 (Antonio Andelic).
Cache S3 credentials obtained from the STS endpoint to enable reuse across multiple function calls, improving efficiency.

Why it matters

This feature addresses the overhead of repeatedly fetching S3 credentials from the STS endpoint by caching them, which reduces latency and external calls. Users benefit from faster interactions with S3 when credentials can be reused instead of being requested each time.

How to use it

Enable and configure the credential caching by setting the s3_credentials_provider_max_cache_size parameter to control the maximum amount of cached credentials. This allows ClickHouse to cache and reuse S3 credentials across different function calls automatically.