yuqi1129 commented on code in PR #12256: URL: https://github.com/apache/gravitino/pull/12256#discussion_r3680400286
########## docs/lance-rest-service.md: ########## @@ -134,6 +134,25 @@ To enable the Lance REST service within Gravitino server, configure the followin | `gravitino.lance-rest.gravitino-uri` | Gravitino server URI (required when namespace-backend is `gravitino`) | http://localhost:8090 | Yes | 1.1.0 | | `gravitino.lance-rest.gravitino-metalake` | Gravitino metalake name (required when namespace-backend is `gravitino`) | (none) | Yes | 1.1.0 | +**Authentication to the Gravitino Server** + +The Lance REST service makes its own requests to the Gravitino server. Those requests must carry +credentials, otherwise a Gravitino server configured with an authenticator other than `simple` +rejects them and every Lance operation fails. Configure the auth type to match the Gravitino +server: + +| Configuration Property | Description | Default Value | Required | Since Version | +|---------------------------------------------------|-----------------------------------------------------------------------------------|--------------------|-------------------|---------------| +| `gravitino.lance-rest.gravitino-auth-type` | Auth type used to reach the Gravitino server. Supported values: `simple`, `oauth2` | `simple` | No | 1.3.0 | Review Comment: Format the code. -- 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]
