Github API - Test Config

GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key
repos
actions

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 you must use an access token with the repo scope. GitHub Apps must have the secrets repository permission to use this endpoint.
Get an environment public key

Arguments
key repository-id

repository-id [scalar]

The unique identifier of the repository.

API:
Github Open API
(version: 1.1.4)

key environment-name

environment-name [scalar]

The name of the environment.

API:
Github Open API
(version: 1.1.4)

Returns
200 application/json actions-public-key

actions-public-key [object]

The public key used for setting Actions Secrets.

Attributes
created_at string

id integer

key string

The Base64 encoded public key.

key_id string

The identifier for the key.

title string

url string

API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)