Skip to content

Commit 913829f

Browse files
authored
Doc: Added set custom credentials instruction in README (#1461)
1 parent 88528bf commit 913829f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,11 @@ Apache Polaris is built using Gradle with Java 21+ and Docker 27+.
6868
- `./gradlew build` - To build and run tests. Make sure Docker is running, as the integration tests depend on it.
6969
- `./gradlew assemble` - To skip tests.
7070
- `./gradlew test` - To run unit tests and integration tests.
71-
- `./gradlew run` - To run the Polaris server locally; the server is reachable at
72-
localhost:8181. This is also suitable for running regression tests, or for connecting with Spark.
71+
- `./gradlew run` - To run the Polaris server locally; the server is reachable at localhost:8181. This is also suitable for running regression tests, or for connecting with Spark. Set your own credentials by specifying system property `./gradlew run -Dpolaris.bootstrap.credentials=POLARIS,root,secret` where:
72+
- `POLARIS` is the realm
73+
- `root` is the CLIENT_ID
74+
- `secret` is the CLIENT_SECRET
75+
- If credentials are not set, it will use preset credentials `POLARIS,root,secret`
7376
- `./regtests/run_spark_sql.sh` - To connect from Spark SQL. Here are some example commands to run in the Spark SQL shell:
7477
```sql
7578
create database db1;

0 commit comments

Comments
 (0)