Need a way to store the dynamically generated public key using PKI engine to postgres at runtime

I have a requirement for client applications generating the private key using PKI engine, once it is generated public key needs to be synced in postgres, I tried various alternatives using consul, it did not help, any suggestions?

I believe you’d have to manually pull the public key from the PKI generation and send to Postgres on your own. There is no native functionality to “sync” anything to an external database, outside of credentials/dynamic secrets.