mw gitlab ssh-key add
Releasev0.35.0 · cfeceb67
mw gitlab ssh-key add [key-file] [flags]Creates a new SSH key owned by the currently authenticated user.
Requires the ‘–title’ flag.
Options
Section titled “Options”Global options
Section titled “Global options”Examples
Section titled “Examples”# Read ssh key from stdin and upload.$ glab ssh-key add -t "my title"
# Read ssh key from specified key file, upload and set the ssh key type to "authentication".$ glab ssh-key add ~/.ssh/id_ed25519.pub -t "my title" --usage-type "auth"See also
Section titled “See also”Page views: —Sessions: —