While #3 will provide a way to consume credentials from ~/.aws/credentials this will probably not work for users logging in through SSO:
aws/aws-cli#4982
There is a node library that allows consuming these credentials:
https://github.com/ryansonshine/aws-sso-creds-helper/blob/main/src/sso-creds.ts#L48
However, it seems never versions of the JavaScript SDK also support using these credentials directly. However, I think that would require a major upgrade of the AWS SDK used by Goldstack:
See fromSSO on https://www.npmjs.com/package/@aws-sdk/credential-providers