pub async fn actions_slash_get_environment_public_key(
configuration: &Configuration,
owner: &str,
repo: &str,
environment_name: &str,
) -> Result<ActionsPublicKey, Error<ActionsSlashGetEnvironmentPublicKeyError>>
Expand description
Get the public key for an environment, which you need to encrypt environment 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 tokens and personal access tokens (classic) need the repo
scope to use this endpoint.