Skip to content

List function secrets

View .md
GET

Lists every secret key set on the function. Plaintext is NEVER returned — only the last 4 characters of each value, for visual confirmation.

Authorization

  • Authorizationheaderrequired

    Bearer YOUR_API_KEY. Create a key in the dashboard.

Path parameters

  • functionIdstringrequired

    Zavu Function ID.

Responses

200Secrets list.
  • secretsobject[]required
    6 properties
    • idstringrequired
    • keystringrequired
    • valueLast4stringrequired
    • syncedboolean

      Whether the current value is in the deployed function. false after a set or an unset until the next deploy.

    • createdAtnumber
    • updatedAtnumber
401Unauthorized.
  • codestringrequired
  • messagestringrequired
  • detailsobject
404Function not found.
  • codestringrequired
  • messagestringrequired
  • detailsobject