v32

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-151,1412,2144.5 MB
FastEdge Secrets

Update a secret

Updates secret metadata and/or adds new time-based slots with encrypted values

put/fastedge/v1/secrets/{secret_id}

Path parameters

secret_idinteger required

Unique identifier of the secret to update

Request body

namestring required

The unique name of the secret.

commentstring

A description or comment about the secret.

app_countinteger

The number of applications that use this secret.

Example request

{
  "secret_slots": [
    {
      "slot": 1704067200,
      "value": "P@ssw0rd123!",
      "checksum": "5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8"
    }
  ]
}

Response

Returns complete secret configuration and metadata

namestring

The unique name of the secret.

commentstring

A description or comment about the secret.

app_countinteger

The number of applications that use this secret.

Example response

{
  "secret_slots": [
    {
      "slot": 1704067200,
      "value": "P@ssw0rd123!",
      "checksum": "5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8"
    }
  ]
}