You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: aws_production: operation error STS: GetCallerIdentity, get identity: get credentials: failed to refresh cached credentials,
refresh cached SSO token failed, unable to refresh SSO token, operation error SSO OIDC: CreateToken,
https response error StatusCode: 400, RequestID: 06215636-0fb1-4274-8a2c-3c15cf2ea18a, InvalidGrantException: (SQLSTATE HV000)
When querying a profile that uses SSO authentication, the above error is generated. If the authentication type is changed to access keys, the query is successful.
There are no errors when using the AWS CLI to fetch requests such as aws sts get-caller-identity --profile aws_production which successfully returns the user identity, account, and arn.
Steampipe version (steampipe -v)
v1.0.1 & v1.0.2
Plugin version (steampipe plugin list)
aws@latest 1.5.0
steampipe@latest 1.0.0
To reproduce
It does not matter if there is a default credential or if you specify the profile. Either way the same error is returned whenever using an SSO login profile.
~> aws sso login
Attempting to automatically open the SSO authorization page in your default browser.
If the browser does not open or you wish to use a different device to authorize this request, open the following URL:
https://<orgstart>.awsapps.com/start/#/device
Then enter the code:
ZXXX-XXXX
Successfully logged into Start URL: https://<org>.awsapps.com/start/#
Describe the bug
When querying a profile that uses SSO authentication, the above error is generated. If the authentication type is changed to access keys, the query is successful.
There are no errors when using the AWS CLI to fetch requests such as
aws sts get-caller-identity --profile aws_production
which successfully returns the user identity, account, and arn.Steampipe version (
steampipe -v
)v1.0.1 & v1.0.2
Plugin version (
steampipe plugin list
)aws@latest 1.5.0
steampipe@latest 1.0.0
To reproduce
It does not matter if there is a default credential or if you specify the profile. Either way the same error is returned whenever using an SSO login profile.
Followed by:
Additional context
aws.spc
*** credentials ***
The text was updated successfully, but these errors were encountered: