Back to GithubDependabot List Org 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 dependabot_secrets
organization permission to use this endpoint.
Input
type: object
properties:
parameters:
type: object
properties:
org:
type: string
description: The organization name. The name is not case sensitive.
per_page:
type: integer
default: 30
description: The number of results per page (max 100).
page:
type: integer
default: 1
description: Page number of the results to fetch.
required:
- org
title: Parameters
Output
type: object
properties:
total_count:
type: integer
secrets:
type: array
items:
type: object
title: Dependabot Secret for an Organization
properties:
name:
description: The name of the secret.
example: SECRET_TOKEN
type: string
created_at:
type: string
format: date-time
updated_at:
type: string
format: date-time
visibility:
description: Visibility of a secret
enum:
- all
- private
- selected
type: string
selected_repositories_url:
type: string
format: uri
example: >-
https://api.github.com/organizations/org/dependabot/secrets/my_secret/repositories