public static AuthorizationMode getInsecureAuthorizationMode(Map<String, String> envVariables) {
        return getEnvironmentVariable(envVariables, INSECURE_AUTHORIZATION_MODE_ENVIRONMENT_VARIABLE)
                .map(AuthorizationMode::fromConfigValue)
                .orElse(AuthorizationMode.defaultValue());
    }
Utility class for retrieving {@link TransportSecurityOptions} from the system.

@author bjorncs
security-utils/src/main/java/com/yahoo/security/tls/TransportSecurityUtils.java