metadata
title: REST API endpoints for Dependabot secrets
shortTitle: Secrets
intro: >-
Use the REST API to manage {% data variables.product.prodname_dependabot %}
secrets for an organization or repository.
topics:
- API
versions:
fpt: '*'
ghec: '*'
ghes: '*'
allowTitleToDifferFromFilename: true
autogenerated: rest
About {% data variables.product.prodname_dependabot %} secrets
You can create, update, delete, and retrieve information about encrypted secrets using the REST API. {% data reusables.actions.about-secrets %} For more information, see AUTOTITLE.
{% data reusables.actions.actions-authentication %} {% data variables.product.prodname_github_apps %} must have the dependabot_secrets permission to use these endpoints. Authenticated users must have collaborator access to a repository to create, update, or read secrets.