If you have a non HSM identity, the private keys are in ~/.config/dfx/identity/
~/.config/dfx/identity/