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 ability to use AWS SSO profile as a credential provider #1930

Open
konidev20 opened this issue Feb 11, 2024 · 6 comments
Open

Add ability to use AWS SSO profile as a credential provider #1930

konidev20 opened this issue Feb 11, 2024 · 6 comments

Comments

@konidev20
Copy link

I have a feature request, I want the ability to use AWS SSO profile stored in .aws/sso/cache to retrieve temporary access keys and session tokens to my S3 bucket.

Here is the corresponding AWS SDK SSO credential provider in golang for reference.
https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/credentials/ssocreds

@harshavardhana
Copy link
Member

Please test #1911

@fdw
Copy link

fdw commented Feb 12, 2024

I'd like to test it in restic, but I have no idea how to do that. But looking at the code, it seems to do the right things.

@konidev20
Copy link
Author

@fdw I can help you with that. I can take a look at this next weekend and help you out.

@bh4t bh4t added the community label Feb 15, 2024
@fdw
Copy link

fdw commented Feb 25, 2024

Have you had a chance yet to implement it?

@konidev20
Copy link
Author

Hey @fdw,
I need some more time to look in to this.

@fdw
Copy link

fdw commented Mar 7, 2024

Reporting back after trying out @konidev20's build of restic: It doesn't seem to work for me. I always get some kind of client.BucketExists: 301 Moved Permanently that suggest some permissions problem. I'm also not asked to login.
Hope that helps :)

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

4 participants