Skip to content

List all secrets

get/v1/projects/{ref}/secrets

Returns all secrets you've previously added to the specified project.

OAuth scopes

  • secrets:read

The fine-grained token must include the following permissions to access this endpoint:

  • edge_functions_secrets_read

Path parameters

  • ref
    Required
    string

    Project ref

Response codes

  • 200
  • 401
  • 403
  • 429
  • 500

Response (200)

[
{
"name": "lorem",
"value": "lorem",
"updated_at": "lorem"
}
]
{
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"updated_at": {
"type": "string"
}
},
"required": [
"name",
"value"
]
}
}