Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include base credentials for Glue IAM role #10735

Merged

Conversation

Randgalt
Copy link
Member

@Randgalt Randgalt commented Jan 21, 2022

Glue AWS credentials with IAM role must include the base credentials if provided. This change matches the behavior of
TrinoS3FileSystem.createAwsCredentialsProvider. However, there is a slight change to the previous contract. Like
TrinoS3FileSystem.createAwsCredentialsProvider, GlueHiveMetastore.getAwsCredentialsProvider will prefer config
config.getAwsCredentialsProvider().

Fixes #10726

Glue AWS credentials with IAM role must include the base credentials
if provided. This change matches the behavior of
`TrinoS3FileSystem.createAwsCredentialsProvider`. However, there is a
slight change to the previous contract. Like
`TrinoS3FileSystem.createAwsCredentialsProvider`,
`GlueHiveMetastore.getAwsCredentialsProvider` will prefer config
`config.getAwsCredentialsProvider()`.

Fixes trinodb#10726
@cla-bot cla-bot bot added the cla-signed label Jan 21, 2022
@hashhar
Copy link
Member

hashhar commented Jan 21, 2022

cc: @losipiuk (reminder about Glue CI)

@Randgalt Randgalt added the bug Something isn't working label Jan 21, 2022
@Randgalt Randgalt requested a review from electrum January 21, 2022 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cla-signed
Development

Successfully merging this pull request may close these issues.

GlueHiveMetastore not using LongLivedCredentialsProvider for IAM role
4 participants