The configurations/credentials should be set in the same place not in different directories. Doing that will cause a bad UX.