1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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
beantwortet vor einem Jahr
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
Is there a way to attach a IAM role to my own local machine for local development?