v10

latestSwagger 2.02026-07-132477431.2 MB
MeshSecrets

Creates or updates a Secret resource.

Creates a Secret resource with the specified name, description and properties. If Secret resource with the same name exists, then it is updated with the specified description and properties. Once created, the kind and contentType of a secret resource cannot be updated.

put/Resources/Secrets/{secretResourceName}

Path parameters

secretResourceNamestring required

The name of the secret resource.

Query parameters

api-version'6.4-preview' required

The version of the API. This parameter is required and its value must be '6.4-preview'.

Request body

namestring required

Name of the Secret resource.

Response

OK

namestring required

Name of the Secret resource.