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

Add support for AWS Session Token configuration #2364

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

refucktor
Copy link

@refucktor refucktor commented Feb 6, 2025

Summary

  • Introduced logic to handle S3 session token using environment variables.
  • Supports session token from both a file and direct environment variable.
  • Defaults to an empty token if no value is provided.

@joshtrichards
Copy link
Member

Thanks, @refucktor. Will take a closer look when the upstream support is added.

May also require some special handling if the upstream support is considered a feature and doesn't get backported to all of the major versions we support.

One bit of immediate feedback: this PR needs docs (entry in the appropriate section of the repo README).

P.S. Ping this PR one of us doesn't get around to re-looking at this PR after upstream is merged.

- Introduced logic to handle S3 session token using environment variables.
- Supports session token from both a file and direct environment variable.
- Defaults to an empty token if no value is provided.

Signed-off-by: Hector Valcarcel <hmvalcarcel@gmail.com>
- variable "OBJECTSTORE_S3_SESSION_TOKEN" to support AWS STS auth workflow

Signed-off-by: Hector Valcarcel <hmvalcarcel@gmail.com>
@refucktor refucktor force-pushed the feat/support-aws-session-token branch from 7928e7a to ecbd2ab Compare February 10, 2025 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support AWS STS (AWS_SESSION_TOKEN) for S3 Object Storage
2 participants