GitHub CLI | Take GitHub to the command line
CLI manual gh secret Secrets can be set at the repository, or organization level for use in GitHub Actions, Agents, or Dependabot. User, organization, and repository secrets can be set for use in GitHub Codespaces. Environment secrets can be set for use in GitHub Actions. Run gh help secret set to learn how to get started. Available commands gh secret delete gh secret list gh secret set Options -R , --repo <[HOST/]OWNER/REPO> Select another repository using the [HOST/]OWNER/REPO format See also gh