SDK not loading assumed role credentials unless run as sudo #4252
-
Hi, I want to be able to run SDK code with assumed role credentials. I have the following in
With this config I can run CLI commands like Now I'd like to run a script with these credentials. For example:
My environment is set up as follows:
When I run the script above I get the following error:
However, when I run the script using sudo, it works. My first thought was that there was a permission issue with files in I'm using MacOS Monterey 12.2.1, aws-sdk 2.1238.0 and Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Raised #4255 Please add any responses to the issue. This question can be closed. |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
Raised #4255
Please add any responses to the issue. This question can be closed.