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