-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Description
I'm playing around with duckdb, very new to it. I'm trying to connect to my s3 bucket. I have aws cli configured on my computer with a number of profiles. Access to my bucket requires that I use the profile sandbox
. When I set the env var export AWS_PROFILE=sandbox
, the aws cli can access the bucket no problems.
In duckdb I have created the following secret
CREATE OR REPLACE PERSISTENT SECRET s3_sandbox (
TYPE s3,
PROVIDER credential_chain
CHAIN 'config'
);
but when I try to access my bucket it does not work
D SELECT * FROM read_parquet('s3://###/test.parquet');
HTTP Error:
HTTP GET error on 'https://###.s3.amazonaws.com/test.parquet' (HTTP 403)
Authentication Failure - this is usually caused by invalid or missing credentials.
* No credentials are provided.
* See https://duckdb.org/docs/stable/extensions/httpfs/s3api.html
Should this work? What am I doing wrong?
┌─────────────────┬────────────┬───────────┐
│ library_version │ source_id │ codename │
│ varchar │ varchar │ varchar │
├─────────────────┼────────────┼───────────┤
│ v1.3.2 │ 0b83e5d2f6 │ Ossivalis │
└─────────────────┴────────────┴───────────┘
Metadata
Metadata
Assignees
Labels
No labels