mw gitlab deploy-key add
Releasev0.35.0 · cfeceb67
mw gitlab deploy-key add [key-file] [flags]Creates a new deploy key.
Requires the ‘–title’ flag.
Options
Section titled “Options”Global options
Section titled “Global options”Examples
Section titled “Examples”# Read deploy key from stdin and upload.$ glab deploy-key add -t "my title"
# Read deploy key from specified key file and upload$ cat ~/.ssh/id_ed25519.pub | glab deploy-key add --title='test' -
# Read deploy key from specified key file, upload and set "can push" attribute.$ glab deploy-key add ~/.ssh/id_ed25519.pub -t "my title" --can-push trueSee also
Section titled “See also”Page views: —Sessions: —