Environments
Generated from Secronna's own code: every route in this area, what it takes and how to call it.
| Method | Path | What it does |
|---|---|---|
GET |
/api/v1/environments/{envId}/secrets |
List secrets |
PUT |
/api/v1/environments/{envId}/secrets |
PUT = create-or-rotate (writes a new immutable version). |
List secrets
GET /api/v1/environments/{envId}/secrets
Path parameters
| Name | Type | Required | Notes |
|---|---|---|---|
envId |
string | yes |
Example
curl -X GET "https://secronna.com/api/v1/environments/:envId/secrets" \
-H "Authorization: Bearer st_…"
PUT = create-or-rotate (writes a new immutable version).
PUT /api/v1/environments/{envId}/secrets
Path parameters
| Name | Type | Required | Notes |
|---|---|---|---|
envId |
string | yes |
Body
| Field | Type | Required | Notes |
|---|---|---|---|
key |
string | yes | min length 1; max length 256 |
value |
string | yes | max length 65536 |
Example
curl -X PUT "https://secronna.com/api/v1/environments/:envId/secrets" \
-H "Authorization: Bearer st_…" \
-H "Content-Type: application/json" \
-d '{"key":"…","value":"…"}'