actions_slash_get_org_public_key

Function actions_slash_get_org_public_key 

Source
pub async fn actions_slash_get_org_public_key(
    configuration: &Configuration,
    org: &str,
) -> Result<ActionsPublicKey, Error<ActionsSlashGetOrgPublicKeyError>>
Expand description

Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. The authenticated user must have collaborator access to a repository to create, update, or read secrets. OAuth tokens and personal access tokens (classic) need theadmin:org scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.