Zend certified PHP/Magento developer

How to create and manage PGP keys and move them to YubiKeys (at enterprise scale)?

I currently use this guide (which I created) to create and manage my own keys using gpg --expert --full-generate-key, gpg --expert --edit-key and gpg --card-edit (among other commands).

How can one automate process at enterprise scale?

Are there better approaches than using expect?