Yes! Thanks for spotting and testing that @Kevin_McIntyre - I had a feeling it would be something fairly trivial. I still have some discrepancy, but I can work with that. Case closed. Thank you #FS Items found using search: 3993 #FS Items found using advanced_search: 480 #FS Items found using advanced_search + pagination: 3999
... View more
Background: A database has its user connection details refreshed every week (via AWS Secrets Manager). This database is registered as a data store with an autoscaling standalone 10.8.1 ArcGIS Server Site Requirement: As a sysadmin, I want to automate updating the database connection details in the ArcGIS Server data store settings, so that my services will continue to access the data in the database. Challenges & Thoughts: Preference to avoid arcpy, so that we can deploy script to Lambda. ArcGIS Python API or REST.JS can be used if required. Q.1 Do you need Arcpy to create a .SDE file? This Esri Script looks like it would meet my needs. Grabs the existing data items connection string And then in step 6, update with new password However, it makes no mention on how to encrypt the password. Q3. Where does the variable sample_1 come from in the linked python script? Q3. How do we encrypt the password? Looking at the help for DataItem: It is recommended that you encrypt the credentials using the encryption scheme before storing it into the server. This can be achieved by invoking Get Database Connection String tool inside the Publishing Tools toolbox published as a system service on the server. This would indicate that there might be a step missing in the linked script. Struggling to find much documentation/samples on how to use ' Get Database Connection String' without a SDE file?
... View more