Skip to content
[ 03 ]Commands

copia-cli gpg-key add

copia-cli gpg-key add [<key-file>]

Add an ASCII-armored GPG public key to your Copia account.

With "-", or without a file when standard input is not a terminal, the key is read from standard input.

Copia adds a key only when one of its emails is a verified email of your account.

Options inherited from parent commands

--host <string>
Target Copia host
-R, --repo <string>
Select repository (owner/repo)
--token <string>
Authentication token

Examples

$ gpg --armor --export <ID> | copia-cli gpg-key add -
$ copia-cli gpg-key add key.asc

See also