.nh .TH "GH-SECRET" "1" "Oct 2024" "GitHub CLI 2.58.0" "GitHub CLI manual" .SH NAME gh-secret - Manage GitHub secrets .SH SYNOPSIS \fBgh secret [flags]\fR .SH DESCRIPTION Secrets can be set at the repository, or organization level for use in GitHub Actions 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 \fBgh help secret set\fR to learn how to get started. .SH AVAILABLE COMMANDS .TP \fBgh-secret-delete(1)\fR Delete secrets .TP \fBgh-secret-list(1)\fR List secrets .TP \fBgh-secret-set(1)\fR Create or update secrets .SH OPTIONS .TP \fB-R\fR, \fB--repo\fR \fB<[HOST/]OWNER/REPO>\fR Select another repository using the [HOST/]OWNER/REPO format .SH EXIT CODES 0: Successful execution .PP 1: Error .PP 2: Command canceled .PP 4: Authentication required .PP NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information. .SH SEE ALSO \fBgh(1)\fR