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 |
---|---|---|---|
|
Any string |
dev |
|
|
HOST:PORT / HOST / :PORT |
localhost:5701 |
|
|
Any string |
Hazelcast Enterprise only |
|
|
Any string |
Hazelcast Enterprise only |
|
|
Any string |
Cloud only |
|
|
true / false |
false |
Cloud or Hazelcast Enterprise |
|
DOMAIN_NAME (must match SSL certificate) |
Cloud (automatically set) or Hazelcast Enterprise |
|
|
true / false |
false |
Cloud or Hazelcast Enterprise. Disables SSL host name and client-side verification. Never set to true in production. |
|
An absolute or relative path |
Cloud or Hazelcast Enterprise. Sets the path to the CA certificate. |
|
|
An absolute or relative path |
Cloud or Hazelcast Enterprise. Sets the path to the certificate key. |
|
|
Any string |
Cloud or Hazelcast Enterprise. Sets the password for the certificate key. |
|
|
An absolute or relative path or |
|
|
|
One of:
|
|
Parameters:
Parameter | Required | Description | Default |
---|---|---|---|
|
Required |
Name of the configuration or its path. If a name is used, the configuration is saved to |
N/A |
|
Optional |
Zero or more |
N/A |
Example output:
clc config add dev cluster.name=dev cluster.address=localhost:5701
clc config import
Imports configuration from an arbitrary source.
Currently importing only Cloud connection configuration is supported.
-
On the Cloud console, visit:
Dashboard → Connect Client → Quick connection guide → Go
-
Copy the text in box 1 and pass it as the second parameter. Make sure the text is quoted before running:
clc config import my-config "curl https://api.viridian.hazelcast.com ... default.zip"
Usage:
clc config import [configuration-name] [source] [flags]
Parameters:
Parameter | Required | Description | Default |
---|---|---|---|
|
Required |
Name of the configuration or its path. If a name is used, the configuration is saved to |
N/A |
|
Required |
The following configuration sources are supported:
|
N/A |
Example output:
clc config import production ~/Downloads/hazelcast-cloud-go-sample-client-pr-3814-default.zip