list keys created in GPG code example Example: list gpg key gpg --list-secret-keys --keyid-format LONG