configs_add-from-env#
Add configuration from environment variables
Usage#
Usage: genesis configs add-from-env [OPTIONS] NODE
Options#
project_id(REQUIRED):- Type: uuid
- Default:
sentinel.unset - Usage:
-p --project-id
Project ID ofthe config
env_prefix:- Type: text
- Default:
gct_env_ - Usage:
--env-prefix
Prefix used to filter environment variables for envs
env_path:- Type: text
- Default:
/var/lib/genesis/app.env - Usage:
--env-path
Path to the env file will be saved on the node
env_format:- Type: choice
- Default:
env - Usage:
--env-format
Format of the env file
cfg_prefix:- Type: text
- Default:
gct_cfg_ - Usage:
--cfg-prefix
Prefix used to filter environment variables for configs
base64:- Type: boolean
- Default:
false - Usage:
--base64
Base64 encode is enabled for configs
uuid:- Type: uuid
- Default:
none - Usage:
-u --uuid
Config UUID
-
node(REQUIRED):- Type: uuid
- Default:
sentinel.unset - Usage:
node
-
help:- Type: boolean
- Default:
false - Usage:
--help
Show this message and exit.
CLI Help#
Usage: genesis configs add-from-env [OPTIONS] NODE
Add configuration from environment variables
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ * --project-id -p UUID Project ID ofthe config [required] │
│ --env-prefix TEXT Prefix used to filter environment variables │
│ for envs │
│ --env-path TEXT Path to the env file will be saved on the │
│ node │
│ --env-format [json|env] Format of the env file [default: env] │
│ --cfg-prefix TEXT Prefix used to filter environment variables │
│ for configs │
│ --base64 Base64 encode is enabled for configs │
│ --uuid -u UUID Config UUID │
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯