Sobes.tech
Junior — Middle

Where are your SSH or API keys for authentication and integration usually stored in GitHub?

sobes.tech AI

Answer from AI

On GitHub, SSH keys and API tokens are usually stored in the user or organization settings section:

  • SSH keys are added in "Settings" → "SSH and GPG keys". There, you can add a public key for authentication when working with repositories over SSH.

  • API keys (Personal Access Tokens) are created in "Settings" → "Developer settings" → "Personal access tokens". These tokens are used for authentication when working with the GitHub API.

It is not recommended to store private keys or tokens directly in repositories for security reasons.