yuqi1129 commented on code in PR #5040:
URL: https://github.com/apache/gravitino/pull/5040#discussion_r1797001132


##########
docs/spark-connector/spark-authentication-with-gravitino.md:
##########
@@ -0,0 +1,47 @@
+---
+title: "Spark authentication with Gravitino server"
+slug: /spark-connector/spark-authentication
+keyword: spark connector authentication oauth2 kerberos
+license: "This software is licensed under the Apache License version 2."
+---
+
+## Overview
+
+Spark connector supports `simple` `oauth2` and `kerberos` authentication when 
accessing Gravitino server.
+
+| Property                     | Type   | Default Value | Description          
                                                                                
               | Required | Since Version |
+|------------------------------|--------|---------------|---------------------------------------------------------------------------------------------------------------------|----------|---------------|
+| spark.sql.gravitino.authType | string | `simple`      | The authentication 
mechanisms when communicating with Gravitino server, supports `simple`, 
`oauth2` and `kerberos`. | No       | 0.7.0         |
+
+## Simple mode
+
+In the simple mode, you could specify the username by configuration.
+
+| Property                            | Type   | Default Value | Description   
                        | Required | Since Version |
+|-------------------------------------|--------|---------------|---------------------------------------|----------|---------------|
+| spark.sql.gravitino.simple.userName | string | None          | The user name 
to access the Gravitino | No       | 0.7.0         |

Review Comment:
   @jerqi 
   Do you have any opinions on this matter? I think `simpleAuth` is okay but 
`oauth2` and `kerberos` also need to be changed accordingly.



-- 
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: commits-unsubscr...@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to