secrets
Overview
Name | secrets |
Type | Resource |
Id | github.dependabot.secrets |
Fields
Name | Datatype | Description |
---|---|---|
name | string | The name of the secret. |
created_at | string | |
updated_at | string |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_repo_secret | SELECT | owner, repo, secret_name | Gets 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_secrets | SELECT | owner, repo | Lists 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. |
create_or_update_repo_secret | INSERT | owner, repo, secret_name | Creates 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 repositorypermission to use this endpoint. |
delete_repo_secret | DELETE | owner, repo, secret_name | Deletes 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. |