Skip to content

Update secret sync targets

PATCH
/tenants/{tenant}/secrets/{name}

Replace the sync target configuration for a managed secret. The provided list fully replaces the existing sync targets. To remove all sync targets, send an empty array.

tenant
required
string

Tenant name

name
required
string

Secret name

If-Match
string

ETag for optimistic locking

New sync targets

object
sync

New sync targets (fully replaces existing list)

Array<object>
object
cluster

Target cluster name

string
Example
production
namespace

Target namespace within the cluster

string
Example
app
secretName

Override the Kubernetes secret name (defaults to the managed secret name)

string
Example
db-credentials

Updated secret

object
createdAt
string
Example
2026-03-10T09:15:00Z
name
string
Example
database-creds
resourceVersion
string
Example
582019
secretPath
string
Example
services/database/credentials
status
object
conditions
Array<object>
object
key
additional properties
phase
string
Example
Synced
syncStatuses
Array<object>
object
key
additional properties
sync
Array<object>
object
cluster
string
Example
production
namespace
string
Example
app
secretName
string
Example
db-credentials
ETag
string

New resource version

Validation error

object
error
string

Missing or invalid authentication

object
error
string

Admin access required

object
error
string

Secret not found

object
error
string

ETag mismatch

object
error
string

Rate limit exceeded

object
error
string