benkehoe / aws-sso-credential-process

Bring AWS SSO-based credentials to the AWS SDKs until they have proper support
Apache License 2.0
47 stars 1 forks source link

interactive auth always get triggered #3

Open shichengripple001 opened 1 month ago

shichengripple001 commented 1 month ago

I have this in my sso profile

[profile test-sso] credential_process = aws-sso-credential-process --noninteractive --profile test-sso

but it seems still trigger interactive auth. a browser got launched. not sure if there anything i did wrong

benkehoe commented 1 month ago

This tool is no longer maintained. I would suggest switching to the AWS CLI v2, which now has a command for this, aws configure export-credentials --profile test-sso --format process