Fix configuration file. Add regex on secret.