Added support for AWS S3 authentication using an explicitly provided IAM role and implemented OAuth authentication for Google Cloud Storage (GCS). These features were previously exclusive to ClickHouse Cloud and are now available in the open-source ClickHouse.
Why it matters
This feature enables users to authenticate to AWS S3 with specified IAM roles and to authenticate to GCS using OAuth, improving security and flexibility in accessing cloud object storage. It also harmonizes the serialization of connection parameters across different object storage interfaces, simplifying configuration and management.How to use it
To enable AWS S3 IAM role authentication, configure the connection parameters to explicitly use the desired IAM role when accessing S3 storage. For GCS, set up OAuth credentials and configure the connection to use OAuth for authentication. Refer to the updated configuration syntax for object storage connection parameters to properly serialize and apply these settings.