Module env

Source

Enums§

EnvError

Functions§

decrypt
Decrypts an encrypted Geneos environment variable.
get_secure_var
Retrieves an environment variable and automatically decrypts it if needed.
get_secure_var_or
Retrieves a secure environment variable’s value, returning a default if the variable is not set.
get_var
Retrieves an environment variable’s value.
get_var_or
Retrieves an environment variable’s value or returns a default if not set.
get_var_or_empty
Retrieves an environment variable’s value or returns an empty string if not set.
is_encrypted
Checks if a string slice is encrypted. Encrypted values start with “+encs+”.