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.1.1
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.1.1.tar.gz | 7.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| forjio_secronna-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.9 kB
Release files / forjio_secronna-0.1.1.tar.gz
| Download URL | forjio_secronna-0.1.1.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7628ff18fd8e8bc6b96d962046f53c10d4b90dc558c300cf73578ff91e7e8f59
|
|
BLAKE2b-256 checksum How to use checksums |
03585060b8e90823e93421870e2085b9311c962d9ec4b20aaafb4eaa40657ebe
|
| 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.1.1-py3-none-any.whl
| Download URL | forjio_secronna-0.1.1-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
af3f521dfb2ad41f32cb29d7208146d90144fd114b80f3e7aca63a8914d13803
|
|
BLAKE2b-256 checksum How to use checksums |
f04d80bc4ecf71a843b73b93563353067527346967904ddfc02ebb3c0ad89ec8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|