.nh .TH "glab" "1" "Sep 2026" "Auto generated by spf13/cobra" "" .SH NAME glab-securefile-create - Upload a new secure file to a project. .SH SYNOPSIS \fBglab securefile create [flags]\fP .SH DESCRIPTION Provide the name to store the file under, followed by the local path to the file to upload. .PP Secure files are stored outside the project's repository and not in version control. Both plain text and binary files are supported, up to a maximum size of 5 MB. .PP By default, the file is uploaded to the current project. Use \fB--repo\fR to target another project. .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB-h\fP, \fB--help\fP[=false] Show help for this command. .PP \fB-R\fP, \fB--repo\fP="" Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted. .SH EXAMPLE .EX # Upload a secure file from a local path glab securefile create "newfile.txt" "securefiles/localfile.txt" # Upload using the 'upload' alias glab securefile upload "newfile.txt" "securefiles/localfile.txt" # Upload to another project glab securefile create "newfile.txt" "securefiles/localfile.txt" -R owner/repo .EE .SH SEE ALSO \fBglab-securefile(1)\fP