v28

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-263064641.4 MB
Secret

Creates or Updates Secret entity

put/v1/mesh/control-planes/{cpId}/api/meshes/{mesh}/secrets/{name}

Path parameters

meshstring required

name of the mesh

namestring required

name of the Secret

Request body

datastring byte

Value of the secret

labelsobject
meshstring required
namestring required
typestring required

Response

Successful response

warningsstring[]

warnings is a list of warning messages to return to the requesting Kuma API clients. Warning messages describe a problem the client making the API request should correct or be aware of.