Skip to main content

org_secrets

Overview

Nameorg_secrets
TypeResource
Idgithub.dependabot.org_secrets

Fields

NameDatatypeDescription
namestringThe name of the secret.
created_atstring
selected_repositories_urlstring
updated_atstring
visibilitystringVisibility of a secret

Methods

NameAccessible byRequired ParamsDescription
get_org_secretSELECTorg, secret_nameGets a single organization secret without revealing its encrypted value. 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.
list_org_secretsSELECTorgLists 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.
create_or_update_org_secretINSERTorg, secret_name, data__visibilityCreates or updates an organization 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 admin:org scope to use this endpoint. GitHub Apps must have the dependabot_secrets organization
permission to use this endpoint.
delete_org_secretDELETEorg, secret_nameDeletes a secret in an organization using the secret name. 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.