I know you can create a database connection with Arcpy using the CreateDatabaseConnection_management function. I am wondering if anyone knows a way in which to change the parameters of that file.
For instance, say you want to use the same .sde connection file, however you want to log into a different database, or connect with a different user.
Essentially is there a way to access the properties of it as if you just right click on the connection in catalog and select connection properties.
I'd rather have my script modify the settings than delete that sde file and recreate it with the same name but different parameters.