This is an automated email from the ASF dual-hosted git repository. yufei pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/polaris.git
The following commit(s) were added to refs/heads/main by this push: new 6a2172271 Doc: Update Local Root Principal Credentials in Quickstart (#1452) 6a2172271 is described below commit 6a217227173b9902eab636885961c9d3907919a4 Author: Adnan Hemani <adna...@berkeley.edu> AuthorDate: Fri Apr 25 09:04:33 2025 -0700 Doc: Update Local Root Principal Credentials in Quickstart (#1452) --- .../in-dev/unreleased/getting-started/quickstart.md | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/site/content/in-dev/unreleased/getting-started/quickstart.md b/site/content/in-dev/unreleased/getting-started/quickstart.md index a1a5d32df..3ca17de4b 100644 --- a/site/content/in-dev/unreleased/getting-started/quickstart.md +++ b/site/content/in-dev/unreleased/getting-started/quickstart.md @@ -72,7 +72,6 @@ cd ~/polaris You should see output for some time as Polaris builds and starts up. Eventually, you won’t see any more logs and should see messages that resemble the following: ``` -realm: <realm> root principal credentials: <client-id>:<client-secret> INFO [io.quarkus] [,] [,,,] (Quarkus Main Thread) polaris-quarkus-service <version> on JVM (powered by Quarkus <version>) started in 2.656s. Listening on: http://localhost:8181. Management interface listening on http://0.0.0.0:8182. INFO [io.quarkus] [,] [,,,] (Quarkus Main Thread) Profile prod activated. Live Coding activated. INFO [io.quarkus] [,] [,,,] (Quarkus Main Thread) Installed features: [...] @@ -80,20 +79,14 @@ INFO [io.quarkus] [,] [,,,] (Quarkus Main Thread) Installed features: [...] At this point, Polaris is running. -When using a Gradle-launched Polaris instance in this tutorial, we'll launch an instance of Polaris that stores entities only in-memory. This means that any entities that you define will be destroyed when Polaris is shut down. It also means that Polaris will automatically bootstrap itself with root credentials. For more information on how to configure Polaris for production usage, see the [docs]({{% relref "../configuring-polaris-for-production" %}}). - -When Polaris is launched using an in-memory metastore, the root principal credentials can be found -in stdout on initial startup. Look for a line that resembles the following: - -``` -realm: <realm> root principal credentials: <client-id>:<client-secret> -``` - -Be sure to take note of these credentials as we'll be using them below. You can also set these credentials as environment variables for use with the Polaris CLI: +When using a Gradle-launched Polaris instance in this tutorial, we'll launch an instance of Polaris that stores entities only in-memory. This means that any entities that you define will be destroyed when Polaris is shut down. +For more information on how to configure Polaris for production usage, see the [docs]({{% relref "../configuring-polaris-for-production" %}}). +When Polaris is run using the `./gradlew run` command, the root principal credentials are `root` and `secret` for the `CLIENT_ID` and `CLIENT_SECRET`, respectively. +You can also set these credentials as environment variables for use with the Polaris CLI: ```shell -export CLIENT_ID=<client-id> -export CLIENT_SECRET=<client-secret> +export CLIENT_ID=root +export CLIENT_SECRET=secret ``` ### Installing Apache Spark and Trino Locally for Testing