Skip to content

Commit

Permalink
kbs/quickstart: fix kbs port number
Browse files Browse the repository at this point in the history
By default kbs listen at port 8080.

Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
  • Loading branch information
wainersm committed Feb 12, 2024
1 parent 913b94b commit 446b63c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kbs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ EOF
Use `kbs-client` to upload resource data to KBS storage:

```shell
kbs-client --url http://127.0.0.1:50000 config --auth-private-key config/private.key set-resource --resource-file test/dummy_data --path default/test/dummy
kbs-client --url http://127.0.0.1:8080 config --auth-private-key config/private.key set-resource --resource-file test/dummy_data --path default/test/dummy
```

Here we assigned a custom path for this resource: `default/test/dummy`.
Expand All @@ -99,7 +99,7 @@ Here we assigned a custom path for this resource: `default/test/dummy`.

Run following command to get resource data from KBS:
```shell
kbs-client --url http://127.0.0.1:50000 get-resource --path default/test/dummy
kbs-client --url http://127.0.0.1:8080 get-resource --path default/test/dummy
```

If you run the client outside of a TEE, the sample attester will be used.
Expand All @@ -108,7 +108,7 @@ To test the KBS with sample evidence, you'll need to update the resource policy
to something more permissive.
This can be done with a command such as
```shell
./kbs-client --url http://127.0.0.1:50000 config --auth-private-key config/private.key set-resource-policy --policy-file allow_all.rego
./kbs-client --url http://127.0.0.1:8080 config --auth-private-key config/private.key set-resource-policy --policy-file allow_all.rego
```

## Passport Mode
Expand Down

0 comments on commit 446b63c

Please sign in to comment.