Closed ashishdhingra closed 1 year ago
Please refer discussion https://github.com/aws/aws-tools-for-powershell/discussions/296 for more details. Looks like customer is doing SSO login from the host machine and then mounting the credentials folder in docker.
Similar issue in .NET SDK https://github.com/aws/aws-sdk-net/issues/2477.
Hello there, My team is working on fixing the bug. We realized that the issue occurs when the cached SSO token files in .aws directory are set to Read Only. The problem is when you pass this docker argument "-v C:\Users\xxxxxx/.aws:/root/.aws:ro", you are setting the .aws directory to read-only because you are using ":ro". For a workaround, you can remove ":ro" from the argument.
Closing ticket since a fix has been pushed.
Thank you.
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Discussed in https://github.com/aws/aws-tools-for-powershell/discussions/296