| ▲ | mberning 2 days ago | ||||||||||||||||||||||
Does anyone know how access control works to the underlying s3 objects? I didn’t see anything regarding grants in the docs. | |||||||||||||||||||||||
| ▲ | pgguru 2 days ago | parent | next [-] | ||||||||||||||||||||||
Hi, one of the developers here. You define credentials that can access the S3 buckets and use those as DuckDB secrets, usually in an init script for pgduck_server. (You can see some examples of this in the testing framework.) I'll see if we can improve the docs or highlight that part better, if it is already documented—we did move some things around prior to release. | |||||||||||||||||||||||
| |||||||||||||||||||||||
| ▲ | mslot 2 days ago | parent | prev [-] | ||||||||||||||||||||||
There are Postgres roles for read/write access to the S3 object that DuckDB has access to. Those roles can create tables from specific files or at specific locations, and can then assign more fine-grained privileges to other Postgres roles (e.g. read access on a specific view or table). | |||||||||||||||||||||||