capabilities.work

Get the public key for codespaces secrets

One step with GitHub. We can help you get access.

Look something up

Get the public key for codespaces secrets

with GitHub

Use GitHub: its GitHub v3 REST Codespaces API lets you get the public key for codespaces secrets in a single step (GET /repos/{owner}/{repo}/codespaces/secrets/public-key). capabilities.work can help you get signed up and connected.

  • Where do I get the public key to encrypt a codespace secret?
  • How do I decrypt a codespace secret with the public key?
Say it to your AI assistant
  • Get the codespace public key for repo {owner}/{repo}.
  • Fetch the public key so I can encrypt a secret for {owner}/{repo}.
For your developer

GET /repos/{owner}/{repo}/codespaces/secrets/public-key in GitHub v3 REST Codespaces API. Full spec on APIs.io.