Why? To prevent a client leaking the key? Then just "login" with npub, most clients provide this feature.