diff --git a/docs/cli-reference/dfx-identity.mdx b/docs/cli-reference/dfx-identity.mdx index cd596c4da5..9eac471822 100644 --- a/docs/cli-reference/dfx-identity.mdx +++ b/docs/cli-reference/dfx-identity.mdx @@ -136,7 +136,7 @@ dfx identity export alice >generated-id.pem ## dfx identity import -Use the `dfx identity import` command to create a user identity by importing the user’s key information or security certificate from a PEM file. +Use the `dfx identity import` command to create a user identity by importing the user’s key information or security certificate from a PEM file or seed phrase file. *Password policy*: If an identity is imported using `--storage-mode password-protected`, the following requirements apply to the password: - The password needs to be longer than 8 characters. diff --git a/src/dfx/src/commands/identity/import.rs b/src/dfx/src/commands/identity/import.rs index 4a2d374979..832a4ff5d5 100644 --- a/src/dfx/src/commands/identity/import.rs +++ b/src/dfx/src/commands/identity/import.rs @@ -9,7 +9,7 @@ use std::fs; use std::path::PathBuf; use std::str::FromStr; -/// Creates a new identity from a PEM file. +/// Creates a new identity from a PEM file or seed phrase file. #[derive(Parser)] pub struct ImportOpts { /// The identity to create.