Yeah, I can't imagine trying to intelligently synchronize public keys
for a couple thousand minions across several datacenters with rsync. I
already have a large-scale mongo cluster with a system inventory
collection. I figure I'll add another field to the collection for the
given system's public key and never have to worry about file-syncing
shenanigans.
The existing PKI system seems pretty straightforward and easy to
subclass. The private keys will still need to be file-based for
obvious reasons, but all the public stuff seems better off in mongo
for large scale installations. Especially when we consider future
cases like multi-master setups and transitioning minons between
datacenters (and thus between masters).
I guess that the PKI system doesn't necessarily have to be
'pluggable'. I'll just need to do more source diving to be sure I
understand how the auth is bootstrapped and the config is loaded.
--
Aaron Tygart