Skip to content

Include base credentials for Glue IAM role#10735

Merged
dain merged 1 commit intotrinodb:masterfrom
Randgalt:jordanz/include-base-credentials-for-glue-iam
Jan 24, 2022
Merged

Include base credentials for Glue IAM role#10735
dain merged 1 commit intotrinodb:masterfrom
Randgalt:jordanz/include-base-credentials-for-glue-iam

Conversation

@Randgalt
Copy link
Copy Markdown
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
Copy Markdown
Member

hashhar commented Jan 21, 2022

cc: @losipiuk (reminder about Glue CI)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

GlueHiveMetastore not using LongLivedCredentialsProvider for IAM role

4 participants