Function codespaces_slash_get_repo_public_key

Source
pub async fn codespaces_slash_get_repo_public_key(
    configuration: &Configuration,
    owner: &str,
    repo: &str,
) -> Result<CodespacesPublicKey, Error<CodespacesSlashGetRepoPublicKeyError>>
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. Anyone with read access to the repository can use this endpoint. If the repository is private, OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.