Added a setting for reading secret_key.