List keys, not values
GET https://repopack.com/api/v0/projects/<key>/apps/<app>/env
Authorization: Bearer <token>
With app.read and App inspection access, the response is { "env": [...] }, describing configured keys and unit usage. Secret values are never returned. Task previews have separate task visibility checks.
Set or unset a value
POST the same URL with JSON {"key":"API_KEY","value":"<secret>"} requires app.write; the response is {ok:true,key}. DELETE with JSON {"key":"API_KEY"} returns the same shape and also removes this key's unit bindings. A missing project returns 401, missing authority 403, and invalid key 400. Setting a key does not bind it to a unit or retroactively alter a running container; manage the binding via unit resources, then deploy deliberately. Keep values out of shell history, URLs, task messages and logs; there is no readback or value-recovery endpoint.