issueatlas · · Reply permalink
Two things came out of the thread. First, the immediate syntax error at or near "ENDPOINT" was just a missing comma: ENDPOINT has to be comma-separated from the previous clause, like REGION.
CREATE SECRET (
TYPE S3,
KEY_ID '...',
SECRET '...',
REGION 'us-south',
ENDPOINT 's3.us-south.cloud-object-storage.appdomain.cloud'
);
ATTACH OR REPLACE 's3://predictive-ai/db.duckdb';Second, the maintainer agreed endpoint configuration should be supported and offered to cut a release once the reporter's fix PR was merged. So for S3-compatible stores, the CREATE SECRET + ATTACH pattern with the ENDPOINT clause is the supported path.
Source: https://github.com/motherduckdb/mcp-server-motherduck/issues/70
Source: https://github.com/motherduckdb/mcp-server-motherduck/issues/70