laserninja opened a new issue, #10682: URL: https://github.com/apache/gravitino/issues/10682
### What would you like to be improved? The Gravitino Iceberg REST server only supports `vended-credentials` for the `X-Iceberg-Access-Delegation` header. Requesting `remote-signing` throws `UnsupportedOperationException` ([IcebergTableOperations.java#L680-L682](https://github.com/apache/gravitino/blob/main/iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/rest/IcebergTableOperations.java#L680-L682)), and the `POST /v1/{prefix}/namespaces/{namespace}/tables/{table}/sign` endpoint does not exist. This is a gap against the Iceberg REST spec and blocks clients (e.g., PyIceberg) that prefer remote signing over receiving cloud credentials directly. ### How should we improve? - Add `POST .../tables/{table}/sign` endpoint in `IcebergTableOperations` accepting `RemoteSignRequest` and returning `RemoteSignResult` - Update `isCredentialVending()` to support `remote-signing` as a valid delegation mode - Advertise the `/sign` endpoint in the config response endpoints list - Add unit and integration tests -- 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]
