FILES()
command doesn't work with AWS SSO credentials
#52955
Labels
type/bug
Something isn't working
FILES()
command doesn't work with AWS SSO credentials
#52955
Steps to reproduce:
aws sso login
to get AWS credentialsaws configure export-credentials --profile default
FILES()
DSL and theAccessKeyId
andSecretAccessKey
printed by step 2 as theaws.s3.access_key
andaws.s3.secret_key
, respectively.Expected behavior
Either of the following:
aws sso login
should work.Real behavior
In debugging this, I was able to eventually gain access to the S3 file via another pair of credentials, supplied by the AWS web console via IAM > Users. I think the issue is that
aws sso login
produces a session token that usually must accompany the access key and secret.Supporting a
session_token
would be a nice feature, but otherwise, a better error message would be helpful, as well as a note in the docs that the credentials produced via SSO won't work.StarRocks version:
3.3.5-6d81f75
The text was updated successfully, but these errors were encountered: