Set a context to the current configuration
Set a context to the current configuration
This command creates or updates a context by using the supplied flags and any relevant config information found in the config file (if any). The information stored will be engine url, headers and certificates (if present) along with comment and the context-name.
corectl context set <context name> [flags]
corectl context set local-engine
corectl context set rd-sense --engine localhost:9076 --comment "R&D Qlik Sense deployment"
--comment string Comment for the context
-h, --help help for set
-a, --app string Name or identifier of the app
--certificates string path/to/folder containing client.pem, client_key.pem and root.pem certificates
-c, --config string path/to/config.yml where parameters can be set instead of on the command line
--context string Name of the context used when connecting to Qlik Associative Engine
-e, --engine string URL to the Qlik Associative Engine (default "localhost:9076")
--headers stringToString Http headers to use when connecting to Qlik Associative Engine (default [])
--insecure Enabling insecure will make it possible to connect using self signed certificates
--json Returns output in JSON format if possible, disables verbose and traffic output
--no-data Open app without data
-t, --traffic Log JSON websocket traffic to stdout
--ttl string Qlik Associative Engine session time to live in seconds (default "0")
-v, --verbose Log extra information
- corectl context - Create, update and use contexts