Reputation: 397
If the SDK store is not a good idea, then what is? Is it the configuration file? It would be best if I didn't have to upload the credentials on source control. The application uses .NET Core.
Upvotes: 0
Views: 454
Reputation: 36043
If your application is running on an EC2 instance or using AWS Lambda, then you should not store AWS credentials anywhere.
Instead, you should use IAM Roles to delegate access to your application. The AWS SDKs know how to use credential information through IAM Roles automatically if credentials are not found locally.
Upvotes: 3