NNS account to use in SDK (PEM file?)

I have an account on NNS and would like to use it via the command line tools.

How can I do that? Is there a way to create a PEM file from the NNS account and the import it with dfx identiy import? Any help would be apppreciated…