canasta config get

From canasta

canasta > config > get

canasta config get

Show configuration settings

Synopsis

Show configuration settings from the instance .env file. With no keys, prints all settings. With one or more keys, prints just those values.

Credential values are masked in the no-key listing, which is the output that tends to end up in a scrollback, a CI log or a support thread. Naming a key prints its value, since that is an explicit request for it; --show-secrets unmasks the whole listing.

canasta config get [flags] [KEYS...]

Examples

canasta config get
canasta config get MW_SITE_SERVER
canasta config get MW_SITE_SERVER HTTPS_PORT
canasta config get --show-secrets

Arguments

Argument Description Default Required Orchestrator
KEYS Configuration key(s) to query Both

Flags

Flag Shorthand Description Default Required Orchestrator
--force -f Allow querying unrecognized keys Both
--id -i Canasta instance ID * Both
--show-secrets Print credential values instead of masking them Both

* Defaults to the Canasta instance matching the current directory, if any.

Global flags

Flag Shorthand Description Default Required Orchestrator
--help -h Show help message and exit Both
--verbose -v Enable verbose output Both