remove secret key from codes