trust-context create


ockam trust-context create [OPTIONS] [NAME]

This command will create a new trust context. If none exists, it will be set as the default for the system.

Arguments

  • [NAME] (optional)
    The name of the trust context to create

Options

  • --credential [CREDENTIAL] (optional)
    Create a trust context from a credential

  • --project-path [PROJECT_JSON_PATH] (optional)
    Project config file

  • --trust-context [TRUST_CONTEXT_NAME | TRUST_CONTEXT_JSON_PATH] (optional)
    Trust Context config file

  • --project [PROJECT_NAME] (optional)

Examples

# To create a trust context with a random name, using the default project information
$ ockam trust-context create

# To create a trust context with a specific name, using the default project information
$ ockam trust-context create t

# To create a trust context with a specific credential
$ ockam trust-context create --credential c