use sec_config for configuration