identity create


ockam identity create [OPTIONS] [NAME]

This command will create a new identity. It will create a vault if none exists and will be assigned as the default for the system.

Arguments

  • [NAME] (optional)

Options

  • --vault [VAULT_NAME] (optional)
    The name of the Vault where the Identity key will be stored

  • -k, --key-id [KEY_ID] (optional)
    Key ID to use for the identity creation

  • --identity [IDENTITY] (optional)
    Identity to import in hex format

Examples:

# To create a new identity with a random name
$ ockam identity create

# To create a new identity with a specific name
$ ockam identity create i

# To create a new identity for a specific vault
$ ockam identity create --vault v

Learn More:

Use 'ockam --help' for more information about a subcommand. Where might be: 'node', 'status', 'enroll', etc. Learn more about Command: https://command.ockam.io/manual/ Learn more about Ockam: https://docs.ockam.io/reference/command

Feedback:

If you have questions, as you explore, join us on the contributors discord channel https://discord.ockam.io