Personally, I prefer secrets, and use multiple secrets if different values are needed based on environment.
Since things like endpoints, IPs, connection strings etc almost always have multiple projects that need them, it makes sense to store them centrally imo.