HI Guys,
How to Upload file in aws s3 bucket using I am User Role in C# code?
Thanks & Regards,
Saravanakumar
HI Guys,
How to Upload file in aws s3 bucket using I am User Role in C# code?
Thanks & Regards,
Saravanakumar
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
horald HenryPosted Mar 1, 2023, 1:10 PM
This could work but make sure that the IAM user role has the necessary permissions to upload files to the S3 bucket. Specifically, the user role should have the
s3:PutObjectpermission for the target bucket.Amit MohantyPosted Mar 1, 2023, 4:37 AM
Try this
This will upload the file "my-file.txt" from your local file system to the S3 bucket "my-bucket" using the key "my-file.txt".
Naimish MakwanaPosted Feb 28, 2023, 4:01 PM
Hello Saravanakumar,
Please refer below link it has given fully working demo program.
https://stackoverflow.com/a/25814973/3054222
Thanks
Naimish Makwana