Global options
These options are available on every command and go before the command name.
| Option | Description | Default |
|---|---|---|
--env <env> | Target environment: local, test, pilot, preprod or prod | test |
--base-url <url> | Override the API base URL, including the /v1 prefix. See Environments | none |
--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 id | environment's chain id |
--output <format> | Output format: pretty, json or table | pretty |
--token <jwt> | Bearer access token for write operations | none |
--es256k-key <hex> | secp256k1 private key (0x-prefixed). Mandatory for anything that signs | none |
--es256-key <hex> | P-256 private key, optional. Signs VCs and VPs only | none |
--sign-alg <alg> | Which key signs VCs and VPs when both keys are configured: ES256 or ES256K | none |
--vcdm-version <v> | VCDM version of the credentials and presentations the CLI signs itself: 1.1 or 2.0 | 1.1 |
--allow-untrusted-node | Only 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 holder | none |
--version | Print the CLI version | none |
--help | Print help for the CLI or for a command | none |
caution
Passing private keys as options can expose them in your shell history. Prefer environment variables in scripts.