fix secret configuration