Skip to main content

Global options

These options are available on every command and go before the command name.

OptionDescriptionDefault
--env <env>Target environment: local, test, pilot, preprod or prodtest
--base-url <url>Override the API base URL, including the /v1 prefix. See Environmentsnone
--chain-id <id>EVM chain id (decimal or hex, for example 6175 or 0x181f) used by the commands that call the Ledger. Only accepted with --env local: every other environment uses its own chain idenvironment's chain id
--output <format>Output format: pretty, json or tablepretty
--token <jwt>Bearer access token for write operationsnone
--es256k-key <hex>secp256k1 private key (0x-prefixed). Mandatory for anything that signsnone
--es256-key <hex>P-256 private key, optional. Signs VCs and VPs onlynone
--sign-alg <alg>Which key signs VCs and VPs when both keys are configured: ES256 or ES256Knone
--vcdm-version <v>VCDM version of the credentials and presentations the CLI signs itself: 1.1 or 2.01.1
--allow-untrusted-nodeOnly warn, instead of failing, when the base URL is not in the Trusted Nodes List (pilot, preprod, prod)off
--did <did>EBSI DID to use as subject or holdernone
--versionPrint the CLI versionnone
--helpPrint help for the CLI or for a commandnone
caution

Passing private keys as options can expose them in your shell history. Prefer environment variables in scripts.