1 Answer
- Newest
- Most votes
- Most comments
1
Since you are running the application from an EC2 instance, the best practice is to use an IAM Role attached to the instance. The .NET SDK should be smart enough to "know" how to use the IAM role. There is a guide in the documentation here -> https://docs.aws.amazon.com/sdk-for-net/v3/developer-guide/net-dg-hosm.html#net-dg-hosm-sample-s3-app
Remember to aways apply the Least Privilege Principle -> https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html#grant-least-privilege
answered a year ago
Relevant content
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 years ago
Is there a way to attach a IAM role to my own local machine for local development?