List repository secrets
GET {{baseUrl}}/repos/:owner/:repo/actions/secrets?per_page=30&page=1
Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the repo
scope to use this endpoint. GitHub Apps must have the secrets
repository permission to use this endpoint.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
per_page | number | Results per page (max 100) | |
page | number | Page number of the results to fetch. |
RESPONSES
status: OK
{"total_count":2,"secrets":[{"name":"GH_TOKEN","created_at":"2019-08-10T14:59:22Z","updated_at":"2020-01-10T14:59:22Z"},{"name":"GIST_ID","created_at":"2020-01-10T10:59:22Z","updated_at":"2020-01-11T11:59:22Z"}]}