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

Query Parameters

environment_id
string<uuid>

Select exactly one organisation-owned environment. Omit only for legacy shared catalogue management or application-wide apply. Empty or repeated values are refused.

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

Configured, missing from secret storage, explicitly disabled in this environment, or unverified because storage could not be read. Scoped reads never turn a store outage into configured.

Available options:
set,
value_missing,
disabled,
unknown
updated_at
string
required
updated_by
string | null
required
source
enum<string>

Present on environment-scoped reads and writes. Shared values are inherited; environment values override only this target.

Available options:
shared,
environment