Skip to content

Commit 8d2f47b

Browse files
Use TENZIR_TOKEN instead of tenant id and api key
1 parent e3770d4 commit 8d2f47b

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,12 @@ on the command-line, or set the following environment variables connect your
1818
node to [app.tenzir.com](app):
1919

2020
```bash
21-
export TENZIR_PLUGINS__PLATFORM__API_KEY='<api-key>'
22-
export TENZIR_PLUGINS__PLATFORM__TENANT_ID='<tenant-id>'
21+
export TENZIR_TOKEN='<token>'
22+
23+
# This one is only necessary if you're using a self-hosted version of the
24+
# Tenzir Platform, e.g., because you're a Developer at Tenzir or a user of the
25+
# Tenzir Sovereign Edition.
26+
export TENZIR_PLATFORM_CONTROL_ENDPOINT='<url>'
2327
```
2428

2529
## Run tests

docker-compose.yaml

+2-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ services:
66
- TENZIR_VERSION=main
77
environment:
88
- TENZIR_ENDPOINT=tenzir-node:5158
9-
- TENZIR_PLUGINS__PLATFORM__API_KEY=${TENZIR_PLUGINS__PLATFORM__API_KEY:-}
10-
- TENZIR_PLUGINS__PLATFORM__CONTROL_ENDPOINT=${TENZIR_PLUGINS__PLATFORM__CONTROL_ENDPOINT:-wss://ws.tenzir.app/production}
11-
- TENZIR_PLUGINS__PLATFORM__TENANT_ID=${TENZIR_PLUGINS__PLATFORM__TENANT_ID:-}
9+
- TENZIR_TOKEN=${TENZIR_TOKEN:-}
10+
- TENZIR_PLATFORM_CONTROL_ENDPOINT=${TENZIR_PLATFORM_CONTROL_ENDPOINT:-wss://ws.tenzir.app/production}
1211
entrypoint:
1312
- tenzir-node
1413
volumes:

0 commit comments

Comments
 (0)