1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
You will need to setup a IAM Role and attach that role to the EC2 instance upon launch. You can follow this guide.
For an application that is built using the AWS SDK for .NET, when the application constructs a client object for an AWS service, the object searches for credentials from several potential sources. The order in which it searches is shown in Credential and profile resolution.
답변함 2년 전
I think I failed to mention that this is an on-prem server, and is not an EC2 instance.
Have you followed the Credential configuration guide for .NET? https://docs.aws.amazon.com/sdk-for-net/v3/developer-guide/net-dg-config-creds.html#creds-file
관련 콘텐츠
- AWS 공식업데이트됨 2년 전
- AWS 공식업데이트됨 2년 전
I'm also having the same problem (also on-prem). My secrets code works on the server when I have it as a console application but when I put it in a .net core app hosted on IIS, it cannot access the credentials store. I see no one has answered your question correctly. Were you able to figure it out?