We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2ba36a4 + 5b56965 commit 0b5c556Copy full SHA for 0b5c556
1 file changed
timdex_dataset_api/metadata.py
@@ -161,6 +161,14 @@ def _configure_duckdb_s3_secret(
161
If a scope is provided, e.g. an S3 URI prefix like 's3://timdex', set a scope
162
parameter in the config. Else, leave it blank.
163
"""
164
+ # install httpfs extension
165
+ conn.execute(
166
+ """
167
+ install httpfs;
168
+ load httpfs;
169
170
+ )
171
+
172
# establish scope string
173
scope_str = f", scope '{scope}'" if scope else ""
174
@@ -186,7 +194,6 @@ def _configure_duckdb_s3_secret(
186
194
create or replace secret aws_s3_secret (
187
195
type s3,
188
196
provider credential_chain,
189
- chain 'sso;env;config',
190
197
refresh true
191
198
{scope_str}
192
199
);
0 commit comments