<p>See this post, <a href="https://cardano.stackexchange.com/questions/2576/best-setup-of-your-air-gapped-offline-machine-cold-environment/4880#4880">Best setup of your air-gapped offline machine (cold environment)?</a>.</p>
<p>Also consider the following <a href="https://cosd.com/frankenwallet" rel="nofollow noreferrer">https://cosd.com/frankenwallet</a>.</p>

CC BY-SA 4.0
2022-07-20T10:27:49.413Z
2022-07-20T10:27:49.413Z
Fermat
<p>I'm working on a server that will have access to a specific wallet that hold funds and NFTs to submit transactions. Therefore, it will have to manage private keys.</p>
<p>I'm thinking of storing them encrypted as environment variables (<code>.env</code> file), using RSA encryption.</p>
<p>Is this a good practice or is there a better way to do this?</p>

<wallet><security><private-key><javascript><seed-phrase>
What is the best (and most secure) way to store private keys in an Express server?
# What is the best (and most secure) way to store private keys in an Express server?

(Asked by: username_0 on 2022-05-25)

I'm working on a server that will have access to a specific wallet that hold funds and NFTs to submit transactions. Therefore, it will have to manage private keys.

I'm thinking of storing them encrypted as environment variables (`.env` file), using RSA encryption.

Is this a good practice or is there a better way to do this?

**Tags:** wallet, security, private-key, javascript, seed-phrase

---

## 1 answers

### Answer by username_1 on 2022-07-20. Score: 2 | Accepted answer

See this post, [Best setup of your air-gapped offline machine (cold environment)?](https://cardano.stackexchange.com/questions/2576/best-setup-of-your-air-gapped-offline-machine-cold-environment/4880#4880).

Also consider the following <https://cosd.com/frankenwallet>.


---

