secrets
Overview
Name | secrets |
Type | Resource |
Id | github.actions.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 secrets repository permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read secrets. |
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 secrets repository permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read secrets. |
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 secrets repository permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read secrets. |
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 secrets repository permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read secrets. |