add(1)

NAME
add - Adds a User ID

SYNOPSIS
add [-o|--output] [-u|--userid] [--private-key-store] [-B|--binary] [-h|--help] [FILE]

DESCRIPTION
Adds a User ID

A User ID can contain a name, like "Juliet" or an email address, like "<juliet@example.org>". Historically, a name and email address were often combined as a single User ID, like "Juliet <juliet@example.org>".

"sq userid add" respects the reference time set by the top-level "--time" argument. It sets the creation time of the User ID's binding signature to the specified time.

OPTIONS

-o, --output=FILE
    Writes to FILE or stdout if omitted

-u, --userid=USERID
    User ID to add

--private-key-store=KEY_STORE
    Provides parameters for private key store

-B, --binary=BINARY
    Emits binary data

-h, --help
    Print help information (use `-h` for a summary)

[FILE]
    Reads from FILE or stdin if omitted

EXTRA
EXAMPLES: # First, this generates a key $ sq key generate --userid "<juliet@example.org>" --export juliet.key.pgp # Then, this adds a User ID $ sq key userid add --userid "Juliet" juliet.key.pgp \
  --output juliet-new.key.pgp # This adds a User ID whose creation time is set to June 28, 2022 at # midnight UTC: $ sq key userid add --userid "Juliet" --creation-time 20210628 \
   juliet.key.pgp --output juliet-new.key.pgp