List organization secrets
Lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `secrets` organization permission to use this endpoint.
GET
/orgs/{org}/actions/secrets- Source
github-v3-rest.json- Revision
f5f067c1e6f6- Active snapshot
85e53e3d0d65
Request
Path Parameters
- org 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 for an Organization object]required
secrets array[Actions Secret for an Organization object]
required items Actions Secret for an Organization objectSecrets for GitHub Actions for an organization.
items Actions Secret for an Organization object
Secrets for GitHub Actions for an organization.
created_at string<date-time>
requiredname string
requiredThe name of the secret.
Example: SECRET_TOKEN
selected_repositories_url string<uri>
optionalExample: https://api.github.com/organizations/org/secrets/my_secret/repositories
updated_at string<date-time>
requiredvisibility string
requiredVisibility of a secret
total_count integer
required