Added secrets and middleware config.