Skip to content

Commit

Permalink
docs: add docs for apache#565
Browse files Browse the repository at this point in the history
  • Loading branch information
maranmaran committed May 3, 2024
1 parent 40f1e54 commit 9950229
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ After running these steps, the Pulsar Manager is running locally at http://127.0
* Account: `pulsar`
* Password: `pulsar`

#### Setting up super-user

##### Acquiring token and seeding super-user manually
If you are deploying Pulsar Manager using the latest code, you can create a super-user using the following command. Then you can use the super user credentials to log in the Pulsar Manager UI.

```
Expand All @@ -188,6 +191,22 @@ After running these steps, the Pulsar Manager is running locally at http://127.0

* `backend-service`: The IP address or domain name of the backend service.
* `password`: The password should be more than or equal to 6 digits.

#### Seeding default super-user via application.properties

Application properties expose variables which allow you to configure default super-user that will be seeded on application startup.

Mark `default.superuser.enable` flag as true and configure the rest of the required fields.

Keep in mind that passwords adhere to standard password policies.

```
# default superuser configuration
default.superuser.enable=
default.superuser.name=
default.superuser.password=
default.superuser.email=
```

2. Create an environment.

Expand Down

0 comments on commit 9950229

Please sign in to comment.