Add secret key to token file