Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[REQ] add sessionToken support to AWS4Auth #18252

Open
mfriesen opened this issue Mar 29, 2024 · 0 comments
Open

[REQ] add sessionToken support to AWS4Auth #18252

mfriesen opened this issue Mar 29, 2024 · 0 comments

Comments

@mfriesen
Copy link
Contributor

Is your feature request related to a problem? Please describe.

AWS4Auth library only supports static credentials IE: AccessKey, SecretKey credentials. Temporary credentials are better to use than static credentials because they expire after a specified interval. To support temporary credentials, the AWS4Auth library needs to support the SessionToken parameter as well.

Describe the solution you'd like

Instead of only having the AWS4Auth method:
public void setCredentials(String accessKey, String secretKey)

to add the method
public void setCredentials(String accessKey, String secretKey, String sessionToken)

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

No branches or pull requests

1 participant