vars

strong-opx vars

Environment variables management

usage: strong-opx vars [-h] [--project PROJECT] [--env ENVIRONMENT] [-v {0,1,2,3}] [--traceback] {encrypt,decrypt} ...

options

-h, --help

show this help message and exit

--project <project>

Select project by its name. If missing, strong-opx will attempt to auto-select project based on current working directory and its parents and looking for presence of configured project

--env <environment>

Environment name. If project has only one environment that will be auto selected

-v {0,1,2,3}, --verbosity {0,1,2,3}

Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output.

--traceback

Raise instead of handling known exceptions

strong-opx vars decrypt

usage: strong-opx vars decrypt [-h]
-h, --help

show this help message and exit

strong-opx vars encrypt

usage: strong-opx vars encrypt [-h] [--value VALUE] [--vars [VARS ...]]
-h, --help

show this help message and exit

--value <value>

Value to encrypt

--vars <vars>

Variables to encrypt

Example

To encrypt variables defined inside project vars:

strong-opx vars encrypt --vars <VARIABLE-1> [<VARIABLE-2> ...]

This will print the encrypted values and needs to be replacing manually in respective variable file. An alternative is to encrypt variable value directly.

strong-opx vars encrypt --value <value-to-encrypt>