> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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.

<Note>
  External Documentation

  To learn more, visit the [GitHub documentation](https://docs.github.com/rest/reference/actions#list-organization-secrets).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter        | Description                                            |
  | ---------------- | ------------------------------------------------------ |
  | Org              | The organization name. The name is not case sensitive. |
  | Page             | Page number of the results to fetch.                   |
  | Per Page         | The number of results per page (max 100).              |
  | Return All Pages | Automatically fetch all resources, page by page.       |
</div>

## Example Output

```json theme={"dark"}
{
	"value": {
		"secrets": [
			{
				"created_at": "2019-08-10T14:59:22Z",
				"name": "GIST_ID",
				"updated_at": "2020-01-10T14:59:22Z",
				"visibility": "private"
			},
			{
				"created_at": "2019-08-10T14:59:22Z",
				"name": "DEPLOY_TOKEN",
				"updated_at": "2020-01-10T14:59:22Z",
				"visibility": "all"
			},
			{
				"created_at": "2019-08-10T14:59:22Z",
				"name": "GH_TOKEN",
				"selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories",
				"updated_at": "2020-01-10T14:59:22Z",
				"visibility": "selected"
			}
		],
		"total_count": 3
	}
}
```

## Workflow Library Example

[List Organization Secrets with Github and Send Results Via Email](https://library.blinkops.com/workflows/list-organization-secrets-with-github-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/list-organization-secrets-with-github-and-send-results-via-email/canvas" />
</div>
