Module env

Module env 

Source

Enums§

EnvError

Functions§

get_var
Retrieves an environment variable’s value. Returns MissingSecureEnvSupport if the value is encrypted and secure-env is disabled.
get_var_or
Retrieves an environment variable’s value or returns a default if not set. Returns an error if the value is encrypted and secure support is disabled.
is_encrypted
Checks if a string slice is encrypted. Encrypted values start with “+encs+”.