1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
0
When you use the .NET AWS SDK it picks up the credentials on your computer. The SDK looks for a profile named "default".
Take a look in your in ~/.aws/credentials
, or %USERPROFILE%\.aws\credentials
If that is missing (or possibly named something else) you will have tell you S3 Client which credentials to use.
https://docs.aws.amazon.com/sdk-for-net/v3/developer-guide/creds-file.html
con risposta 2 anni fa
Contenuto pertinente
- AWS UFFICIALEAggiornata 3 anni fa
- AWS UFFICIALEAggiornata 3 anni fa
- AWS UFFICIALEAggiornata 8 mesi fa
- AWS UFFICIALEAggiornata 2 anni fa
I'm not seeing any help for authenticating without aws_access_key and aws_secret_access_key. On the EC2 instance, I can run the program since the instance has a IAM role attached. Keys don't work for local development because my company policy doesn't allow me to generate them.