set up secret key