Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

nclemons

This would definitely be very helpful.
martin

Re: Allow S3 connection with IAM role instead of credentials

Thanks for your suggestion.
Quick research did not get me any information on the API needed to implement this. Will have to look into this deeper later.
And we will see, if more people ask for this.
virshu

Re: Allow S3 connection with IAM role instead of credentials

Exactly! And the feature request is to be able to use AWS Role instead of Profile.
virshu

Allow S3 connection with IAM role instead of credentials

When S3 connection runs on AWS instance (called EC2), it is best practice to *not* use the credentials but use instance profile instead. Unfortunately, this scenario is not supported in WinSCP – it requires the user to enter Access and Secret Keys. CLI command would look the same:
aws s3 cp example.txt s3://bucket/examples/
without requiring credentials

It would be really nice to not require the user to enter credentials!

Thank you

UPDATE: Sorry, while I wrote correctly in the subject of the post, I should have said instance role rather than instance profile. Sorry for the confusion