yuqi1129 opened a new issue, #14896: URL: https://github.com/apache/gravitino/issues/14896
### What would you like to be improved? Lance REST `DescribeTable`, `DeclareTable` and `CreateTable` return `storage_options`, which include the catalog's `lance.storage.*` values. These values often hold static access keys for a whole bucket. A user who can describe any table in the catalog, including a table the user just created, receives these keys and can read or write every dataset they reach. Storage access then no longer depends on table privileges. Checked on main 6b73de4f9b: a user with only `CREATE_TABLE` on one schema registers a table, describes it, and gets the catalog's storage options in the response. ### How should we improve? - Return short-lived credentials scoped to the table location instead of the catalog keys. Gravitino already vends credentials for Iceberg and filesets. - Until then, document that catalog storage options are visible to anyone who can describe a table in the catalog. Found while checking #13696. Related to #14788. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
