Use Secretive so your ssh keys are stored in the secure enclave. Keeping private keys in files is the 1990s security…
Or better yet it needs dead-end privileges with a system and data that doesn't matter.
Akamai akr should be able to do something similar, but would store the private key on your phone. It's the successor of krypton, which was bought by Akamai, and I liked that even more as you really need a second device.