AnsweredAssumed Answered

CreateEnterpriseGeodatabase pass encrypted DBA password

Question asked by okachirski on Apr 6, 2015
Latest reply on Apr 8, 2015 by khibma-esristaff

One of the parameters to arcpy.CreateEnterpriseGeodatabase_management is the database administrator password. Documentation states that it is an "Encrypted String"; however in practice it takes a plain-text password:




Provide the password for the geodatabase administrator user. If the geodatabase administrator user already exists in the DBMS, the password you type must match the existing password. If the geodatabase administrator user does not already exist, type a valid database password for the new user. The password must meet the password policy enforced by your DBMS.

The password is a geoprocessing-encrypted string.

Encrypted String


I need to save this script on disk and use an encrypted password in it. What encryption algorithm/library is it expecting, and how does one generate such an encrypted password? Any ESRI tool available for this (it does say The password is a geoprocessing-encrypted string.)?