v32

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

Add a new secret

Create a new encrypted secret for use in edge applications. Secrets are encrypted with AES-256-GCM and can have multiple time-based slots for rotation.

post/fastedge/v1/secrets

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

Secret created successfully, returns secret metadata with unique ID

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.

idinteger

The unique identifier of the secret.

Example response

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