There are two options. You can export your nsec as a recovery sheet, or you can export an ncryptsec which is encrypted with a password that you would need to keep in a password manager. You should never store the ncryptsec with the password, it’s no safer than just storing an nsec.