Function codespaces_slash_get_org_public_key

Source
pub async fn codespaces_slash_get_org_public_key(
    configuration: &Configuration,
    org: &str,
) -> Result<CodespacesPublicKey, Error<CodespacesSlashGetOrgPublicKeyError>>
Expand description

Gets a public key for an organization, which is required in order to encrypt secrets. You need to encrypt the value of a secret before you can create or update secrets. OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.