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公式更新しました 3年前
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?