diqiu50 commented on issue #11181:
URL: https://github.com/apache/gravitino/issues/11181#issuecomment-6848675380

   This is now supported via #12570/#12575, which added token authentication 
with a token file to the Spark connector.
   
   Configure `spark.sql.gravitino.authType=token` together with 
`spark.sql.gravitino.tokenFile=/path/to/token`. The file is read on each 
request, so a token refreshed on disk is picked up without changing the 
configuration; a session-level token property takes precedence over the 
application-level one, and the token is never logged. The file should contain 
the raw token. This covers the sidecar/refreshed-token use cases described 
above.
   
   The only difference from the original proposal is the configuration form: a 
`tokenFile` property under the existing `token` auth type rather than a 
separate `bearer-token-file` auth type. Could the reporter confirm whether this 
satisfies the requirement? If so, I will close this issue.


-- 
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]

Reply via email to