Fix secret key config