The tedge connect command
tedge connect
Connect to cloud provider
If there is a renewed version of the device certificate, this new certificate is used to connect the cloud and on a successful connection the new certificate is promoted as active.
Usage: tedge connect [OPTIONS] <COMMAND>
Commands:
c8y
az
aws
help Print this message or the help of the given subcommand(s)
Options:
--config-dir <CONFIG_DIR>
[env: TEDGE_CONFIG_DIR, default: /etc/tedge]
--test
Test an existing connection
--debug
Turn-on the DEBUG log level.
If off only reports ERROR, WARN, and INFO, if on also reports DEBUG
--offline
Ignore connection registration and connection check
--log-level <LOG_LEVEL>
Configures the logging level.
One of error/warn/info/debug/trace. Logs with verbosity lower or equal to the selected level will be printed, i.e. warn prints ERROR and WARN logs and trace prints logs of all levels.
Overrides `--debug`
-h, --help
Print help (see a summary with '-h')
AWS​
tedge connect aws
Usage: tedge connect aws [OPTIONS]
Options:
--config-dir <CONFIG_DIR>
[env: TEDGE_CONFIG_DIR, default: /etc/tedge]
--profile <PROFILE>
The cloud profile you wish to use
[env: TEDGE_CLOUD_PROFILE]
--test
Test an existing connection
--debug
Turn-on the DEBUG log level.
If off only reports ERROR, WARN, and INFO, if on also reports DEBUG
--offline
Ignore connection registration and connection check
--log-level <LOG_LEVEL>
Configures the logging level.
One of error/warn/info/debug/trace. Logs with verbosity lower or equal to the selected level will be printed, i.e. warn prints ERROR and WARN logs and trace prints logs of all levels.
Overrides `--debug`
-h, --help
Print help (see a summary with '-h')
Azure​
tedge connect az
Usage: tedge connect az [OPTIONS]
Options:
--config-dir <CONFIG_DIR>
[env: TEDGE_CONFIG_DIR, default: /etc/tedge]
--profile <PROFILE>
The cloud profile you wish to use
[env: TEDGE_CLOUD_PROFILE]
--test
Test an existing connection
--debug
Turn-on the DEBUG log level.
If off only reports ERROR, WARN, and INFO, if on also reports DEBUG
--offline
Ignore connection registration and connection check
--log-level <LOG_LEVEL>
Configures the logging level.
One of error/warn/info/debug/trace. Logs with verbosity lower or equal to the selected level will be printed, i.e. warn prints ERROR and WARN logs and trace prints logs of all levels.
Overrides `--debug`
-h, --help
Print help (see a summary with '-h')
Cumulocity​
tedge connect c8y
Usage: tedge connect c8y [OPTIONS]
Options:
--config-dir <CONFIG_DIR>
[env: TEDGE_CONFIG_DIR, default: /etc/tedge]
--profile <PROFILE>
The cloud profile you wish to use
[env: TEDGE_CLOUD_PROFILE]
--test
Test an existing connection
--debug
Turn-on the DEBUG log level.
If off only reports ERROR, WARN, and INFO, if on also reports DEBUG
--offline
Ignore connection registration and connection check
--log-level <LOG_LEVEL>
Configures the logging level.
One of error/warn/info/debug/trace. Logs with verbosity lower or equal to the selected level will be printed, i.e. warn prints ERROR and WARN logs and trace prints logs of all levels.
Overrides `--debug`
-h, --help
Print help (see a summary with '-h')