You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For authentication with AWS, I want to use static client credentials (a pair of access key ID and secret). I couldn't find the user-facing documentation on how do do that, so I resorted to reading the source code.
Currently, static client credentials can be only configured for the S3 client:
These credentials do not affect the other clients, e.g. the AWS Glue one. As a result, in order to configure static credentials for the entire Glue catalog, one needs to implement a custom credentials provider using these parameters:
Would a PR be accepted that in addition to the s3.* parameters mentioned above added the support for similarly named aws.* parameters? Such parameters would consistently apply to all AWS clients instantiated by DefaultAwsClientFactoryand could eventually deprecate the s3.* ones..
Query engine
None
The text was updated successfully, but these errors were encountered:
Feature Request / Improvement
I want to register an Iceberg catalog of type AWS Glue in Flink with the code like this:
For authentication with AWS, I want to use static client credentials (a pair of access key ID and secret). I couldn't find the user-facing documentation on how do do that, so I resorted to reading the source code.
Currently, static client credentials can be only configured for the S3 client:
iceberg/aws/src/main/java/org/apache/iceberg/aws/s3/S3FileIOProperties.java
Lines 192 to 216 in 0e7aa84
These credentials do not affect the other clients, e.g. the AWS Glue one. As a result, in order to configure static credentials for the entire Glue catalog, one needs to implement a custom credentials provider using these parameters:
iceberg/aws/src/main/java/org/apache/iceberg/aws/AwsClientProperties.java
Lines 37 to 60 in c68abfc
For example:
iceberg/aws/src/test/java/org/apache/iceberg/aws/TestAwsClientFactories.java
Lines 243 to 253 in 7071dc1
Would a PR be accepted that in addition to the
s3.*
parameters mentioned above added the support for similarly namedaws.*
parameters? Such parameters would consistently apply to all AWS clients instantiated byDefaultAwsClientFactory
and could eventually deprecate thes3.*
ones..Query engine
None
The text was updated successfully, but these errors were encountered: