List repository secrets
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.
GET
/repos/{owner}/{repo}/actions/secrets- Source
github-v3-rest.json- Revision
f5f067c1e6f6- Active snapshot
85e53e3d0d65
Request
Path Parameters
- owner stringrequired
- repo stringrequired
Query Parameters
- per_page integeroptional
Results per page (max 100)
- page integeroptional
Page number of the results to fetch.
Responses
application/json object
Response
Headers
Link string
Example:
<https://api.github.com/resource?page=2>; rel="next", <https://api.github.com/resource?page=5>; rel="last" secrets array[Actions Secret object]required
secrets array[Actions Secret object]
required items Actions Secret objectSet secrets for GitHub Actions.
items Actions Secret object
Set secrets for GitHub Actions.
created_at string<date-time>
requiredname string
requiredThe name of the secret.
Example: SECRET_TOKEN
updated_at string<date-time>
requiredtotal_count integer
required