Description
Over the last week something has changed while running my Node app in the IDE. The app which uses AWS SDK v3 can no longer find credentials when using AWS Identity SSO IAM, giving this error:
CredentialsProviderError: Could not load credentials from any providers.
Note the AWS Toolkit Explorer DOES correctly show all available cloud resources.
To reproduce
1) Using the AWS Toolkit, sign-in using the Workforce option with the desired account/region
2) Follow the link to the browser to authenticate
2) Note in the Toolkit explore all AWS resources appear correctly and are accessible
3) Using the JetBrains IDE, Run a NodeJS app that uses AWS SDK v3 to access cloud resources
4) See this error: CredentialsProviderError: Could not load credentials from any providers
Expected behavior
Prior to installing the latest Plugin the NodeJS app was able to correctly load the credentials and interact with the cloud resources. I have an older build on a different machine that is still working correctly.
Screenshots
In the previous working plugin, this message appeared after authenticating through the browser:
With the latest plugin, this message now appears:
Your Environment
Mac OS Sonoma 14.5
WebStorm 2024.1.4
Build #WS-241.17890.13
AWS Toolkit version: 3.11-241
Let me know if I can provide additional information to solve this. Thanks!
Description Over the last week something has changed while running my Node app in the IDE. The app which uses AWS SDK v3 can no longer find credentials when using AWS Identity SSO IAM, giving this error: CredentialsProviderError: Could not load credentials from any providers.
Note the AWS Toolkit Explorer DOES correctly show all available cloud resources.
To reproduce
1) Using the AWS Toolkit, sign-in using the Workforce option with the desired account/region 2) Follow the link to the browser to authenticate 2) Note in the Toolkit explore all AWS resources appear correctly and are accessible 3) Using the JetBrains IDE, Run a NodeJS app that uses AWS SDK v3 to access cloud resources 4) See this error: CredentialsProviderError: Could not load credentials from any providers
Expected behavior Prior to installing the latest Plugin the NodeJS app was able to correctly load the credentials and interact with the cloud resources. I have an older build on a different machine that is still working correctly.
Screenshots In the previous working plugin, this message appeared after authenticating through the browser:
With the latest plugin, this message now appears:
Your Environment
Let me know if I can provide additional information to solve this. Thanks!