A newer version of Hazelcast CLC is available.

View latest

clc config

Configuration operations.

Usage:

clc config [command] [flags]

clc config add

Adds a named configuration with the given values. Specify the configurations as KEY=VALUE pairs.

It overwrites the previous configuration if it exists.

Usage:

clc config add [target] [source] [flags] [key=value...]

Configuration keys:

Key Value Default Value Note

cluster.name

Any string

dev

cluster.address

HOST:PORT / HOST / :PORT

localhost:5701

cluster.user

Any string

Hazelcast Enterprise only

cluster.password

Any string

Hazelcast Enterprise only

cluster.discovery-token

Any string

Cloud only

ssl.enabled

true / false

false

Cloud or Hazelcast Enterprise

ssl.server

DOMAIN_NAME (must match SSL certificate)

Cloud (automatically set) or Hazelcast Enterprise

ssl.skip-verify

true / false

false

Cloud or Hazelcast Enterprise. Disables SSL host name and client-side verification. Never set to true in production.

ssl.ca-path

An absolute or relative path

Cloud or Hazelcast Enterprise. Sets the path to the CA certificate.

ssl.key-path

An absolute or relative path

Cloud or Hazelcast Enterprise. Sets the path to the certificate key.

ssl.key-password

Any string

Cloud or Hazelcast Enterprise. Sets the password for the certificate key.

log.path

An absolute or relative path or stderr to log to stderr.

$CLC_HOME/logs/YYYY-MM-DD.log where the date is today.

log.level

One of:

  1. error

  2. warn

  3. info

  4. debug

info

Parameters:

Parameter Required Description Default

target

Required

Name of the configuration or its path. If a name is used, the configuration is saved to $CLC_HOME/configs/NAME

N/A

key=value

Optional

Zero or more config_item=value pairs.

N/A

Example output:

clc config add dev cluster.name=dev cluster.address=localhost:5701

clc config list

Lists the known configurations.

A known configuration is a directory at $CLC_HOME/configs that contains config.yaml. Directory names which start with dot (.) or underscore (_) are ignored.

Usage:

clc config list [flags]

Example output:

clc config list
default
production