Skip to content

Default credentials profile is not not read by Amazon.SimpleEmailV2 SDK for .net #2027

Answered by ashishdhingra
ThisIsArnab asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @ThisIsArnab,

Good evening.

Few pointer:

  • Are you using Visual Studio for your development and access AWS services using AWS Explorer? If yes, refer Using the SDK Store (Windows only), you might be using Windows SDK store located at %USERPROFILE%\AppData\Local\AWSToolkit\RegisteredAccounts.json. You may rename or move this file to a different location.
  • Is environment variable AWS_PROFILE set in your environment? If yes, please either remove it or update it with default profile.
  • Could you check the output of FallbackCredentialsFactory.GetCredentials()? If these return credentials, could you check the source and credentials information to validate if the default credentials are returned?

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ashishdhingra
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
guidance Question that needs advice or information. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. credentials
2 participants
Converted from issue

This discussion was converted from issue #2026 on May 25, 2022 13:38.