You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/apikeys.mdx
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -15,14 +15,14 @@ Each environment has its own secret key. You can find the value on the API keys
15
15
16
16
To automatically configure the SDK with your secret key, you can set the `TRIGGER_SECRET_KEY` environment variable. The SDK will automatically use this value when calling API methods (like `trigger`).
17
17
18
-
```bash
19
-
exportTRIGGER_SECRET_KEY=tr_dev_…
18
+
```bash .env
19
+
TRIGGER_SECRET_KEY="tr_dev_…"
20
20
```
21
21
22
22
You can do the same if you are self-hosting and need to change the default URL by using `TRIGGER_API_URL`.
0 commit comments