mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #1931] Add AWS SSO Authentifcation #970
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#970
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @VivienMoretto87 on GitHub (Apr 8, 2022).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1931
Hi,
I need to integrate the AWS SSO authentifcation in s3fs. I have just checked the opensource project aws-cli (SSOCredentialFetcher in credentials.py in the project https://github.com/aws/aws-cli/tree/v2/awscli ) and the s3fs seems not to be compatible with this kind of authentication.
I have modified the code :
It seems to work.
Can you tell if it is possible to contribute the community by pushing my code and give some advises to have a clearer implementation ?
Regards,
@ggtakec commented on GitHub (Apr 10, 2022):
@VivienMoretto87 Thanks for your kindness.
s3fs-fuse doesn't currently support SSO authentication, so we'd appreciate it if you could make a PullRequest.
After that, @gaul and I will be able to review it.
As a solution to this problem, I am now submitting another PR (#1927).
This PR is the code to delegate the authentication process to an external DSO.
I think that combining this PR code with the DSO( https://github.com/ggtakec/s3fs-fuse-awscred-lib) should enable AWS SSO authentication.
This DSO just calls aws-sdk-cpp and it does the same authentication process as awscli and can get the tokens it needs.
If you are interested, I would be grateful if you could try # 1927 as well.
@VivienMoretto87 commented on GitHub (Apr 10, 2022):
Thank you for the answer, I will push my code. I tested it Friday and it seems to work (other authentication too).
Regards,
Vivien
@Emru1 commented on GitHub (Sep 13, 2022):
Hey, can we expect this feature any time soon?
Looking forward to it
@ggtakec commented on GitHub (Mar 19, 2023):
#1927 adds
credlibandcredlib_opsoptions.Authentication not currently supported by s3fs can be supported by specifying a dedicated DSO for these options.
Please try to create your own DSO or use a trusted one.
I provide https://github.com/ggtakec/s3fs-fuse-awscred-lib which can cover all AWS authentication.
We will continue to add support for AWS and other cloud-based authentication, but for now please try to use the above DSO for AWS authentication which are not supported by s3fs.