gpg --quick-add-uid alice@example.com 'Alice Backup <alice+backup@example.com>'

Category: Security & Hardening

gpg --quick-add-uid alice@example.com 'Alice Backup <alice+backup@example.com>'

Add an identity to an existing key

Attaches a second user ID to Alice's key, useful for mapping several email addresses to one identity. The new user ID is signed by the key's owner automatically, so others can trust it right away. List identities with gpg --list-keys alice@example.com.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.