Caracal admin client for Python: control-plane invocation, admin API access, and idempotent provisioning reconcilers
Project description
caracalai-admin
Caracal admin client for Python: a ControlClient that mints a scoped, single-use token per governed control invoke, an AdminClient over the Caracal admin API, and idempotent ensure_* reconcilers that converge applications, providers, resources, policy sets, and grants to a desired state.
from caracalai_admin import AdminClient, ensure_grants, ResourceGrant
client = AdminClient(api_url="http://localhost:9090", admin_token="...")
ensure_grants(
client,
"zone-id",
grants=[
ResourceGrant(
application_id="app-anton",
resource_identifier="resource://pipernet",
scopes=["data:read"],
)
],
)
Part of Caracal. Apache-2.0.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file caracalai_admin-0.2.0rc1.tar.gz.
File metadata
- Download URL: caracalai_admin-0.2.0rc1.tar.gz
- Upload date:
- Size: 18.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8e30260f31ecaa5b8a56719bbe2ba0e0f495a6f51ac3f71be8453fe48ab1077
|
|
| MD5 |
510f6af01169885951a1d24bafba452b
|
|
| BLAKE2b-256 |
9576454d962ddeacbc4f54592bbe6620ce9ea4545b0c4553a8e896cc3f94abfe
|
File details
Details for the file caracalai_admin-0.2.0rc1-py3-none-any.whl.
File metadata
- Download URL: caracalai_admin-0.2.0rc1-py3-none-any.whl
- Upload date:
- Size: 21.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6635ca65b07e3e87e510cb52b2fbf5dca80ebd4b8b147ec754c23060bfef3197
|
|
| MD5 |
72ca916b92eb90c13c1987f45d7fd068
|
|
| BLAKE2b-256 |
d0e156f23698af07a3c8a27f3029471d908a9f737daa3e221f9459ae6ebfef94
|