singularity key newpair

Create a new key pair

Synopsis

The ‘key newpair’ command allows you to create a new key or public/private keys to be stored in the default user local keyring location (e.g., $HOME/.singularity/sypgp).

singularity key newpair

Examples

$ singularity key newpair
$ singularity key newpair --password=psk --name=your-name --comment="key comment" --email=mail@email.com --push=false

Options

-b, --bit-length int    specify key bit length (default 4096)
-C, --comment string    key comment
-E, --email string      key owner email
-h, --help              help for newpair
-N, --name string       key owner name
-P, --password string   key password
-U, --push              specify to push the public key to the remote keystore (default true)

SEE ALSO

Auto generated by spf13/cobra on 4-Sep-2024