Github API - Test Config

GET /repos/{owner}/{repo}/codespaces/secrets/public-key
codespaces
repos

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

Arguments
key owner

owner [scalar]

The account owner of the repository. The name is not case sensitive.

API:
Github Open API
(version: 1.1.4)

key repo

repo [scalar]

The name of the repository. The name is not case sensitive.

API:
Github Open API
(version: 1.1.4)

Returns
200 application/json codespaces-public-key

codespaces-public-key [object]

The public key used for setting Codespaces 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)