From 1c94e24fd28acb4c98ad9827e62dee0aa89ac0fb Mon Sep 17 00:00:00 2001 From: Heng Qin Date: Sun, 4 Feb 2024 19:09:55 +0800 Subject: [PATCH] [#2042] improvement(doc): Unify the style of configuration options --- docs/security.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/security.md b/docs/security.md index b65b8f5d6d0..5272192e584 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 -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 = +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