Update secret sync targets
PATCH /tenants/{tenant}/secrets/{name}
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.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” tenant
required
string
Tenant name
name
required
string
Secret name
Header Parameters
Section titled “Header Parameters ” If-Match
string
ETag for optimistic locking
Request Body
Section titled “Request Body ”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-credentialsResponses
Section titled “ Responses ”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-credentialsHeaders
Section titled “Headers ” 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