Skip to content
[ 03 ]Commands

copia-cli gpg-key list

copia-cli gpg-key list [flags]

List GPG keys in your Copia account

Options

-q, --jq <expression>
Filter JSON output using a jq expression
--json <fields>
Output JSON with the specified fields: id, key_id, primary_key_id, emails, public_key, created_at, expires_at, verified, can_sign
-t, --template <template>
Format JSON output using a Go template (helpers: join, pluck, truncate, timeago, tablerow, tablerender)

Options inherited from parent commands

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

Aliases

copia-cli gpg-key ls

Examples

$ copia-cli gpg-key list
$ copia-cli gpg-key list --json key_id,verified

See also