actions
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. Authenticated users must have collaborator access to a repository to create, update, or read secrets.
get/repos/{owner}/{repo}/actions/secrets
Path parameters
ownerstring required
The account owner of the repository. The name is not case sensitive.
repostring required
The name of the repository without the .git extension. The name is not case sensitive.
Query parameters
per_pageinteger
The number of results per page (max 100).
pageinteger
Page number of the results to fetch.
Response
Response
Example response
{
"secrets": [
{
"name": "SECRET_TOKEN"
}
]
}