Skip to main content

mops user import

Import .pem file data to use as identity.

mops user import -- <pem_data>

To be able to publish a packages to the mops registry, you need to import an identity from DFX.

Import identity from DFX

mops user import -- "$(dfx identity export <identity_name>)"

Example

  1. Create new identity in DFX named mops
dfx identity new mops
  1. Import identity into mops
mops user import -- "$(dfx identity export mops)"