key-based authentication for MariaDB 10.3 on centos6
I am trying to figure out how to do key-based authentication to MariaDB 10.3 on centos6.
I've been able to use pam and the pam_unix.so module to authentication by OS user but I haven't been able to configure MariaDB to use ssh keys. Is that possible? Is there any documentation detailing how to set that up? I did see a knowledge base article explicitly stating the pam enabled ssh passphrase authentication but no additional information on how to enable that.
Also, I had to run MariaDB as root user for pam_unix.so to work. Is that a "feature"?
Thanks for any insight!
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.