Skip to content

[fs] s3.assumed.role.arn doesn't actually assume the role for S3 file I/O #3761

Description

@fresh-borzoni

Search before asking

  • I searched in the issues and found nothing similar.

Description

If you set s3.assumed.role.arn in server.yaml, you'd expect Fluss to do S3 I/O as that role. It doesn't. The plugin just logs "Using default AWS credential chain with AssumeRole" and returns, so S3A never gets an AssumedRoleCredentialProvider, so all remote.data.dir writes (remote log, KV snapshots, lake offsets) run with whatever ambient identity the default chain finds. `
The ARN is only used for delegation token generation.

We hit this while validating the Glue docs (#3424) on ECS Fargate, tiering wrote with the task's ambient credentials, not the configured role.

Willingness to contribute

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions