glab(1)

✨ glab-securefile-create β€” glab(1) ✨

okay bestie, welcome to the secure-file upload corner of glab(1) πŸ’… this one is lowkey small but highkey useful, and it’s giving β€œupload it and go” energy πŸŽ€


πŸŽ€ NAME πŸŽ€

glab-securefile-create β€” upload a new secure file to a project. periodt πŸ’–

🌸 SYNOPSIS 🌸

glab securefile create   [flags]

πŸ¦‹ DESCRIPTION πŸ¦‹

First things first: you give it the name you want the file stored under, then the local path to the file you’re uploading. That’s the vibe check βœ…

Secure files are stored outside the project’s repository and are not in version control β€” so no git-commit main character energy for them 🫢 Both plain text and binary files are supported, up to a maximum size of 5 MB. That’s the limit, bestie, no cap.

By default, the file gets uploaded to the current project. Wanna target another project? Use --repo, easy peasy 🌸

🫢 OPTIONS INHERITED FROM PARENT COMMANDS 🫢

  • -h, --help[=false] β€” show help for this command. literally your β€œwait, what does this do again?” button πŸ’–
  • -R, --repo="" β€” select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted. slay, flexible πŸ’…

πŸ”₯ EXAMPLE πŸ”₯

# 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

🌈 SEE ALSO 🌈

glab-securefile(1) β€” go peek at the parent page, bestie πŸ‘‘


✨ auto-generated by spf13/cobra Β· dated Nov 2026 Β· this is glab(1), bye bestie, go upload something iconic πŸ’–
πŸ“¦ where this page comes from