v1

latestOpenAPI 3.0.0Apache 2.02026-07-17143274803.9 KB
clusters

Merge a particular secret with an existing one with optional remapping

Merge a particular secret with an existing one

patch/api/v1/orgs/{orgId}/clusters/{id}/secrets/{secretName}

Path parameters

orgIdinteger required

Organization identifier

idinteger required

Cluster identifier

secretNamestring required

Secret name as it will be seen in the cluster

Request body

sourceSecretNamestring
namespacestring required
specobject

Example request

{
  "namespace": "default",
  "sourceSecretName": "my-secret",
  "spec": {
    "key": {
      "sourceMap": {
        "key": "sourceMap"
      },
      "source": "source",
      "value": "value"
    }
  }
}

Response

secret is installed into the cluster

namestring required

Example response

{
  "name": "my-aws-secret"
}