Skip to main content
PUT
Set Application Env Secret

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string | null
x-ankra-organisation-id
string | null

Path Parameters

application_id
string
required
secret_key
string
required

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.

value
string
required

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.

key
string
required
required
boolean
required

True when the application's committed manifests read this key through a secretKeyRef.

status
enum<string>
required

"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
updated_at
string
required
updated_by
string | null
required