Skip to main content
PUT
Update a secret's data

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

app_id
string<uuid>
required

Unique ID of the app.

secret_name
string
required

User-facing name of the secret.

Body

application/json

Request model for updating an existing K8s secret's data.

data
SecretKeyValue · object[]
required

New key-value pairs, replacing all existing ones.

Response

Secret updated successfully.

Detail view of a secret with masked values.

secret_name
string
required

User-facing name of the secret.

k8s_name
string
required

K8s resource name.

data
SecretKeyValue · object[]

Key-value pairs. NexusOne masks the values as ****.

created_at
string | null

Secret creation timestamp in ISO 8601 format.