Earlier in this chapter, we talked about database connection files and how to best name and store them. Those same principles apply here:
Use standard naming conventions for your SDE connection files, such as webeditor@GISPROD@GISDB.sde
Store connection files in a standard, yet secured, well-known location, such as directly beneath your scripts directory; for example \\fs1\gis\scripts\connections
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.