Keystores provide a better way to handle private keys by storing them on encrypted files instead of on a regular .env or even exported on the terminal.
Default keystore directory: ~/foundry/keystore
# Creates a new private key and outputs to the terminal
cast wallet new