Set Application Env Secret
Applications API
Set Application Env Secret
Store the value of one environment secret, creating the entry or rotating it in place. The value goes to the platform secret store; the deploy renders it into the <app>-env Secret, encrypted with SOPS to the organisation's age recipient before it is stored or pushed to Git. The value is not echoed in the response and is never logged. Takes effect on the application's next deploy. A browser session twin is mounted at the same path without the /api/v1 prefix (cookie authentication plus the X-Ankra-CSRF double-submit header).
PUT
Set Application Env Secret
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
The value to store for one environment secret. It is write-only: it is never echoed by this response, returned by any read, or written to a log.
Response
The catalogued key after the write. It carries no value.
One key of an application's -env Secret. The stored value is never part of this model - no endpoint on this surface returns one.
True when the application's committed manifests read this key through a secretKeyRef.
"set" when the secret store holds a value for this key, "value_missing" when the value was removed out of band.
Available options:
set, value_missing