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

AWS S3 Auth with session tokens #8325

Closed
exalate-issue-sync bot opened this issue May 11, 2023 · 3 comments
Closed

AWS S3 Auth with session tokens #8325

exalate-issue-sync bot opened this issue May 11, 2023 · 3 comments

Comments

@exalate-issue-sync
Copy link

Capital One is requesting the ability to use Session Tokens when using S3.

@exalate-issue-sync
Copy link
Author

Pavel Pscheidl commented: As we use {{SystemPropertiesCredentialsProvider}}, and in there

{noformat} String accessKey = StringUtils.trim(System.getProperty(ACCESS_KEY_SYSTEM_PROPERTY)); String secretKey = StringUtils.trim(System.getProperty(SECRET_KEY_SYSTEM_PROPERTY)); String sessionToken = StringUtils.trim(System.getProperty(SESSION_TOKEN_SYSTEM_PROPERTY));{noformat}

can be found. Which means if they don't specify any other credentials and only specify them as environment variables, it will work.

Out of the box. We don't have tests for that, but it should work nicely.

@exalate-issue-sync
Copy link
Author

Pavel Pscheidl commented: Adding support for this in H2O credentials provider should be straightforward, we need to adjust set_s3 credentials functions to support token (optionally).

@h2o-ops
Copy link
Collaborator

h2o-ops commented May 14, 2023

JIRA Issue Migration Info

Jira Issue: PUBDEV-7312
Assignee: Pavel Pscheidl
Reporter: Mohamed Asni
State: Closed
Fix Version: 3.28.0.4
Attachments: N/A
Development PRs: Available

Linked PRs from JIRA

#4343

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

No branches or pull requests

1 participant