Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[#2042] improvement(doc): Unify the style of configuration options (#2043)

qqqttt123a9dd7948188a
diff --git a/docs/security.md b/docs/security.md
index b65b8f5d6d..5272192e58 100644
--- a/docs/security.md
+++ b/docs/security.md
@@ -146,11 +146,11 @@ You can follow the steps to set up an OAuth mode Gravitino server.
6. You can refer to the [Configurations](gravitino-server-config.md) and append the configurations to the conf/gravitino.conf.
```text
-gravitino.authenticator oauth
-gravitino.authenticator.oauth.serviceAudience test
-gravitino.authenticator.oauth.defaultSignKey <the default signing key>
-gravitino.authenticator.oauth.tokenPath /oauth2/token
-gravitino.authenticator.oauth.serverUri http://localhost:8177
+gravitino.authenticator = oauth
+gravitino.authenticator.oauth.serviceAudience = test
+gravitino.authenticator.oauth.defaultSignKey = <the default signing key>
+gravitino.authenticator.oauth.tokenPath = /oauth2/token
+gravitino.authenticator.oauth.serverUri = http://localhost:8177
```
7. Open [the URL of Gravitino server](http://localhost:8090) and login in with clientId `test`, clientSecret `test`, and scope `test`.
@@ -258,11 +258,11 @@ Configuration doesn't support resolving environment variables, so you should rep
Then, You can start the Gravitino server.
```text
-gravitino.server.webserver.host localhost
-gravitino.server.webserver.enableHttps true
-gravitino.server.webserver.keyStorePath ${JAVA_HOME}/localhost.jks
-gravitino.server.webserver.keyStorePassword localhost
-gravitino.server.webserver.managerPassword localhost
+gravitino.server.webserver.host = localhost
+gravitino.server.webserver.enableHttps = true
+gravitino.server.webserver.keyStorePath = ${JAVA_HOME}/localhost.jks
+gravitino.server.webserver.keyStorePassword = localhost
+gravitino.server.webserver.managerPassword = localhost
```
6. Request the Gravitino server