org_secrets
Overview
Name | org_secrets |
Type | Resource |
Id | github.actions.org_secrets |
Fields
Name | Datatype | Description |
---|---|---|
name | string | The name of the secret. |
created_at | string | |
selected_repositories_url | string | |
updated_at | string | |
visibility | string | Visibility of a secret |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_org_secret | SELECT | org, secret_name | Gets 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.If the repository is private, you must use an access token with the repo scope.GitHub Apps must have the secrets organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read secrets. |
list_org_secrets | SELECT | org | Lists 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.If the repository is private, you must use an access token with the repo scope.GitHub Apps must have the secrets organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read secrets. |
create_or_update_org_secret | INSERT | org, secret_name, data__visibility | Creates 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.If the repository is private, you must use an access token with the repo scope.GitHub Apps must have the secrets organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read secrets. |
delete_org_secret | DELETE | org, secret_name | Deletes 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.If the repository is private, you must use an access token with the repo scope.GitHub Apps must have the secrets organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read secrets. |