Security API -> GPG Keys -> setgpgprivatekey

external_document