-
In AWS SDK for .NET V3, we were able to override the default credential resolution order by configuring: FallbackCredentialsFactory.CredentialsGenerators = [
AwsConfigCredentialsFactory.GetAwsCredentials,
EnvironmentVariablesCredentials.FromEnvironmentVariables,
AssumeRoleWithWebIdentityCredentials.FromEnvironmentVariables,
]; This allowed us to prioritize AWS Profiles and Environment Variables over Web Identity credentials, which aligns better with our use case. However, in AWS SDK V4, FallbackCredentialsFactory is deprecated and no longer available. We're looking for guidance on how to achieve a similar customization of credential resolution order in V4. Could you please advise on the recommended approach in V4 to achieve this? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Thanks for the feedback @Vake93. I moved the discussion into a feature request that we should get done to make it easier to for user's to migrate to V4. |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
Thanks for the feedback @Vake93. I moved the discussion into a feature request that we should get done to make it easier to for user's to migrate to V4.
#3836