.nh .TH "GT-SECRET" "1" "Nov 2026" "gitea-cli" "gitea-cli Manual" .SH NAME gt-secret - Manage Actions secrets for a repository, organization, or your account .SH SYNOPSIS \fBgt secret [flags]\fP .SH DESCRIPTION Manage the Actions secrets that workflows read with ${{ secrets.NAME }}. .PP A secret belongs to a repository, to an organization (--org), whose repositories all see it, or to your user account (--account), which all your repositories see. Without --org or --account, gt uses the repository of the working directory or --repo. Names are stored upper-cased. .PP Note that the global --user flag selects the account gt acts as, not a scope. .SH OPTIONS \fB-h\fP, \fB--help\fP[=false] help for secret .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB--cwd\fP="" Working \fBdirectory\fR for repository discovery .PP \fB--debug\fP[=false] Log the method, URL, status, and duration of each HTTP request to stderr .PP \fB--host\fP="" Gitea instance \fBURL\fR, including any base path .PP \fB--interactive\fP[=false] Allow prompts with machine output .PP \fB--no-input\fP[=false] Disable prompts and implicit editor/browser interactions .PP \fB--remote\fP="" Git \fBremote\fR used for repository discovery .PP \fB-R\fP, \fB--repo\fP="" Select a repository as \fBOWNER/REPO\fR or URL .PP \fB--sudo\fP="" Perform API requests as this \fBuser\fR (requires an administrator account) .PP \fB--user\fP="" Account \fBname\fR on the selected instance .SH SEE ALSO \fBgt(1)\fP, \fBgt-secret-delete(1)\fP, \fBgt-secret-list(1)\fP, \fBgt-secret-set(1)\fP