Manpage logo

glab-securefile-download - Download a secure file for a project.

NAME  SYNOPSIS  DESCRIPTION  OPTIONS  OPTIONS INHERITED FROM PARENT COMMANDS  EXAMPLE  SEE ALSO 

NAME

glab-securefile-download - Download a secure file for a project.

SYNOPSIS

glab securefile download [flags]

DESCRIPTION

Download a secure file for a project.

OPTIONS

--all[=false]

Download all (limit 100) of a project’s secure files. Files are downloaded with their original name and file extension.

--force-download[=false]

Force download file(s) even if checksum verification fails. Warning: when enabled, this setting allows the download of files that are corrupt or tampered with.

--no-verify[=false]

Do not verify the checksum of the downloaded file(s). Warning: when enabled, this setting allows the download of files that are corrupt or tampered with.

--output-dir="."

Output directory for files downloaded with --all.

-p, --path="./downloaded.tmp"

Path to download the secure file to, including filename and extension.

OPTIONS INHERITED FROM PARENT COMMANDS

-h, --help[=false]

Show help for this command.

-R, --repo=""

Select another repository. Can use either OWNER/REPO or GROUP/NAMESPACE/REPO format. Also accepts full URL or Git URL.

EXAMPLE

# Download a project’s secure file using the file’s ID.
$ glab securefile download 1

# Download a project’s secure file using the file’s ID to a given path.
$ glab securefile download 1 --path="securefiles/file.txt"

# Download a project’s secure file without verifying its checksum.
$ glab securefile download 1 --no-verify

# Download a project’s secure file even if checksum verification fails.
$ glab securefile download 1 --force-download

# Download all (limit 100) of a project’s secure files.
$ glab securefile download --all

# Download all (limit 100) of a project’s secure files to a given directory.
$ glab securefile download --all --output-dir secure_files/

SEE ALSO

glab-securefile(1)


Updated 2026-06-01 - jenkler.se | uex.se