Secrets

Update secret.

Update secret.

put/_fabric/{fabric}/_api/kms/secret/{name}

Request

Path parameters

fabricstring required

The name of the fabric.

namestring required

The name of the secret.

Request body

valuestring
fileNamestring
keyNamestring

Example request

{
  "value": "my updated value"
}

Response

Successfully updated the secret.

errorboolean

Flag if there is an error in response. False for this response.

codeinteger

The generated response code. value property always returns as null.

Example response

{
  "code": 200,
  "result": {
    "name": "secret_name_1",
    "tenant": "_mm",
    "fabric": "_system",
    "keyName": "managed_key_1",
    "keyId": "I1tcRHpOqEtvOxw9z90WjQ.EmcLClY",
    "createdAt": 1689020889736,
    "updatedAt": 1689020889736
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.