Skip to content

[File system] Allow users to configure STS endpoint for S3 file system #613

@michaelkoepf

Description

@michaelkoepf

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

Allow users to explicitly configure the STS endpoint that should be used.

Solution

  • Add the following config options for the S3 file system

    • fs.s3a.sts.endpoint: The endpoint URL of the AWS Security Token Service to use for authenticating to S3.
    • fs.s3a.sts.region: The region to use for SigV4 signing of requests. If not set, fs.s3a.region will be used.
  • If fs.s3a.sts.endpoint is set, build the STS client in src/main/java/com/alibaba/fluss/fs/s3/token/S3DelegationTokenProvider.java with the desired endpoint configuration.

Anything else?

No response

Willingness to contribute

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions