Skip to main content

Quorum Key Manager command line options

This reference describes the syntax of the Quorum Key Manager (QKM) command line interface (CLI) options.

Options

You can specify QKM options:

  • On the command line.

    key-manager run [OPTIONS]
  • As environment variables.

auth-api-key-file

--auth-api-key-file=<FILE>

When using API key authentication, path to the API key CSV file.

auth-oidc-issuer-url

--auth-oidc-issuer-url=<URL>

When using OAuth 2.0 authentication, URL of the OpenID Connect server. You must use this option with --auth-oidc-ca-cert.

auth-oidc-audience

--auth-oidc-audience=<AUDIENCE>

When using OAuth 2.0 authentication, expected audience (aud field) of access tokens. You must use this option with --auth-oidc-issuer-url.

auth-tls-ca

```bash
--auth-tls-ca=<FILE>
```

When using TLS authentication, path to the certificate authority (CA) certificate for the TLS server.

db-database

--db-database=<STRING>

Target database name. The default is postgres.

db-host

--db-host=<HOST>

Database host. The default is 127.0.0.1.

db-keepalive

--db-keepalive=<DURATION>

Number of seconds before the client sends a TCP keepalive message. The default is 1m0s.

db-password

--db-password=<STRING>

Database user password. The default is postgres.

db-pool-timeout

--db-pool-timeout=<DURATION>

Number of seconds the client waits for a free connection if all connections are busy. The default is 30s.

db-poolsize

--db-poolsize=<INTEGER>

Maximum number of connections on the database.

db-port

--db-port=<PORT>

Database port. The default is 5432.

db-sslmode

--db-sslmode=<STRING>

TLS/SSL mode to connect to database (one of require, disable, verify-ca, and verify-full). The default is disable.

db-tls-ca

--db-tls-ca=<STRING>

Path to TLS certificate authority (CA) in PEM format.

db-tls-cert

--db-tls-cert=<STRING>

Path to TLS certificate to connect to database in PEM format.

db-tls-key

--db-tls-key=<STRING>

Path to TLS private key to connect to database in PEM format.

db-user

--db-user=<STRING>

Database user. The default is postgres.

health-port

--health-port=<PORT>

Port to expose Health HTTP service. The default is 8081.

help

-h, --help, [command] --help

Print help information and exit, or if a command is specified, print more information about the command.

http-host

--http-host=<HOST>

Enable HTTPS server. This is required when using TLS authentication.

https-server-cert

--https-server-cert=<STRING>

Path to TLS server certificate. This is required when using TLS authentication.

https-server-key

--https-server-key=<STRING>

Path to TLS server key. This is required when using TLS authentication.

log-format

--log-format=<STRING>

Log formatter. The options are text and json. The default is text.

log-level

--log-level=<STRING>

Log level. The options are debug, error, fatal, info, panic, trace, and warn. The default is info.

log-timestamp

--log-timestamp[=<BOOLEAN>]

Enables logging with timestamp (only in text format). The default is true.

manifest-path

--manifest-path=<PATH>

Path to manifest file/folder to configure key manager stores and nodes.