Skip to content

Commit a00ec1f

Browse files
thomasballingerConvex, Inc.
authored andcommitted
Add set_admin_auth to Python docs (#37846)
GitOrigin-RevId: 6c4ec90f1d15a968c3a5c760e545cfafa5080f0e
1 parent f93cba9 commit a00ec1f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,13 @@ To provide authentication for function execution, call `set_auth()`.
5454
>>> client.set_auth("token-from-authetication-flow")
5555
```
5656

57+
To authenticate as an admin, allowing you to run internal functions not exposed
58+
to the public internet, call `set_admin_auth()`.
59+
60+
```python
61+
>>> client.set_admin_auth("admin-key")
62+
```
63+
5764
[Join us on Discord](https://www.convex.dev/community) to get your questions
5865
answered or share what you're doing with Convex. If you're just getting started,
5966
see https://docs.convex.dev to see how to quickly spin up a backend that does

0 commit comments

Comments
 (0)