org_secrets
Overview
Name | org_secrets |
Type | Resource |
Id | github.dependabot.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. GitHub Apps must have the dependabot_secrets organization permission to use this endpoint. |
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. GitHub Apps must have the dependabot_secrets organization permission to use this endpoint. |
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. GitHub Apps must have the dependabot_secrets organizationpermission to use this endpoint. |
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. GitHub Apps must have the dependabot_secrets organization permission to use this endpoint. |