Skip to content

Commit

Permalink
[apache#2042] improvement(doc): Unify the style of configuration options
Browse files Browse the repository at this point in the history
  • Loading branch information
Heng Qin committed Feb 4, 2024
1 parent 801df01 commit 1c94e24
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions docs/security.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1c94e24

Please sign in to comment.