-
Notifications
You must be signed in to change notification settings - Fork 0
docs(sdk-python): Add connect() and SecurityConfig.from_env() documentation #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -79,6 +79,15 @@ from capiscio_sdk._rpc.client import CapiscioRPCClient | |
|
|
||
| [:octicons-arrow-right-24: Badge API](badge.md) | ||
|
|
||
| - :material-key: **CapiscIO.connect()** | ||
|
|
||
| --- | ||
|
|
||
| "Let's Encrypt" style agent setup. One-liner to get a fully | ||
| configured agent with DID, keys, and badges. | ||
|
|
||
| [:octicons-arrow-right-24: Connect API](#capiscioconnect) | ||
|
|
||
|
Comment on lines
+82
to
+90
|
||
| - :material-shield-check: **SimpleGuard** | ||
|
|
||
| --- | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This environment variable table conflicts with the existing
SecurityConfig.from_env()documentation indocs/reference/configuration.md(e.g.,CAPISCIO_REQUIRE_SIGNATURESdefault is documented asfalsethere, andCAPISCIO_RATE_LIMIT_RPMdefault as60, nottrue/1000). Also, the description "Require badge on requests" appears mismatched forCAPISCIO_REQUIRE_SIGNATURES(it maps to signature enforcement in the other doc). Please align the defaults/wording with the canonical configuration reference (or update both consistently) to avoid publishing contradictory docs.