should_skip_verify

Function should_skip_verify 

Source
pub fn should_skip_verify(insecure_flag: bool) -> bool
Expand description

Check if TLS verification should be skipped based on environment or flag.

Returns true if either the insecure_flag parameter is true, or if the VAULT_SKIP_VERIFY environment variable is set to a truthy value (1, true, yes, case-insensitive).