Optional
Optional default value to return if the environment variable is not set.
"" Copy
""
Optional error message to throw if the environment variable is not set and no default value is provided.
"Environment variable <key> is required" Copy
"Environment variable <key> is required"
The key of the environment variable.
Optional default value to return if the environment variable is not set.