gpg-key rest/create implementation