Skip to main content
GET
/
compute
/
script
/
{id}
/
secrets
List Secrets
curl --request GET \
  --url https://api.bunny.net/compute/script/{id}/secrets \
  --header 'AccessKey: <api-key>'
{
  "Secrets": [
    {
      "Id": 123,
      "LastModified": "2023-11-07T05:31:56Z",
      "Name": "<string>"
    }
  ]
}

Authorizations

AccessKey
string
header
required

API Access Key authorization header

Path Parameters

id
integer<int64>
required

The ID of the script to list secrets

Response

The list of secrets for the script.

Secrets
object[]