ae60791ddc2d

latestOpenAPI 3.0.0zlibraw.githubusercontent.com2026-08-12287555918.4 KB
kubernetes

Create a Secret

Create a Secret in the given namespace. Data values are sent as plain strings and encoded server-side. The response carries the created Secret's metadata only, not its data. Access policy: Authenticated user.

post/kubernetes/{id}/namespaces/{namespace}/secrets

Path parameters

idinteger required

Environment identifier

namespacestring required

The namespace name where the secret is created

Request body

Annotationsobject
Dataobject
Labelsobject
Namestring
SecretTypestring

Response

Success

Annotationsobject
ConfigurationOwnerstring
ConfigurationOwnerIdstring
CreationDatestring
Dataobject
IsUsedboolean
Labelsobject
Namestring
Namespacestring
SecretTypestring
UIDstring