-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to load an AWS profile by name using either config or process #51
Comments
Oh, just to be clear, I tried this with both the standard 1.0 duckdb and aws that comes with it as well as trying the latest version of the extension using |
you can get the versions of extensions with and i assume you have tried a different tool like the aws cli to confirm the sso profile is working? Also just wondering, why are you specifying the |
Yes, I use the aws cli and several other tools and utilities with these profiles on a daily basis. I was trying to use the process chain because currently, DuckDB is not able to get a valid secret and use it with the default chain because I don't currently generate the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables, only the AWS_PROFILE variable when I authenticate. Other tools such as the aws cli will use the credential process of the specified profile if there aren't an id and secret in the environment, and that is what I was attempting to get DuckDB to use as well. I was able to work around this by passing an argument to granted's authentication telling it to export a temporary id and secret and then launch DuckDB inside that shell, but it isn't optimal because it means I don't get automatic renewal of the credentials and I can't launch DuckDB inside another process such as my database explorer. |
When I try creating a secret as follows:
I get a return of true but the secret doesn't seem to be valid because I get a 403 when I try to read an S3 parquet file.
Here is an example of what my .aws/config looks like for this profile:
What additional information can I provide to try to debug this?
The text was updated successfully, but these errors were encountered: