barnybug / s3

Swiss army pen-knife for Amazon S3: grep, cat, ls, sync, and more.
MIT License
56 stars 13 forks source link

Feature Request: Use IAM roles rather than secret keys #14

Open kraduk opened 3 years ago

kraduk commented 3 years ago

Injecting keys isnt ideal especially on ECS type scenarios. It would be very nice if you supported IAM based auth as well ie the task execution role in aws fargate

barnybug commented 3 years ago

Thanks for the feature request.

This is actually a function of the underlying library we use for AWS and should be supported already - have you tried it? https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html