forjio-secronna
Typed Python client for the secronna.com secrets REST API.
pip install forjio-secronna
from forjio_secronna import SecronnaClient
client = SecronnaClient(token="sk_live_...")
project = client.create_project(name="Web")
env = client.create_environment(project["id"], name="production")
client.set_secret(env["id"], key="DATABASE_URL", value="postgres://...")
# Pull the whole environment into a {KEY: value} dict:
secrets = client.fetch_secrets(env["id"])
# {"DATABASE_URL": "postgres://..."}
Auth is a Bearer token — an sk_live_... API key from the dashboard (or
a Huudis-minted access token). Pass token= or set SECRONNA_TOKEN.
Every response rides the Forjio envelope {data, error, meta}; the
client unwraps data and raises SecronnaError (carrying the
envelope's error.code) on failure.
Family
Sister to:
@forjio/secronna(JS/TS)hachimi-cat/secronna-go(Go)
Metadata
Release files for forjio-secronna 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| forjio_secronna-0.2.0.tar.gz | 8.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| forjio_secronna-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.3 kB
Release files / forjio_secronna-0.2.0.tar.gz
| Download URL | forjio_secronna-0.2.0.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5c23bfc9b336b0f844fb7964babe7e369acf0674ae9c86010c418d0c999477dd
|
|
BLAKE2b-256 checksum How to use checksums |
b096e5254e90bf8df3ccffc85270317a7833219975d7d47d14ec2d98aba62972
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / forjio_secronna-0.2.0-py3-none-any.whl
| Download URL | forjio_secronna-0.2.0-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d031c36c35be180949c33e2532137cb39d66487d9289bd304b65443f5d2c508a
|
|
BLAKE2b-256 checksum How to use checksums |
72b8df29823741913d2d3b3caa19d13d2b84ab367681caab6b5e5d2fc05a7045
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|