Skip to main content

secrets

Overview

Namesecrets
TypeResource
Idgithub.dependabot.secrets

Fields

NameDatatypeDescription
namestringThe name of the secret.
created_atstring
updated_atstring

Methods

NameAccessible byRequired ParamsDescription
get_repo_secretSELECTowner, repo, secret_nameGets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the repo scope to use this endpoint. GitHub Apps must have the dependabot_secrets repository permission to use this endpoint.
list_repo_secretsSELECTowner, repoLists 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 dependabot_secrets repository permission to use this endpoint.
delete_repo_secretDELETEowner, repo, secret_nameDeletes a secret in a repository using the secret name. You must authenticate using an access token with the repo scope to use this endpoint. GitHub Apps must have the dependabot_secrets repository permission to use this endpoint.
create_or_update_repo_secretEXECowner, repo, secret_nameCreates or updates a repository secret with an encrypted value. Encrypt your secret using
LibSodium. For more information, see "Encrypting secrets for the REST API."

You must authenticate using an access
token with the repo scope to use this endpoint. GitHub Apps must have the dependabot_secrets repository
permission to use this endpoint.