add secret key to config