I’m very new Golang and struggling with setting up LDAP OUD (Oracle Unified Directory) within our app. Our current Golang application connects to Oracle using Oracle instantclient via go oci8
. The DB Hostname details are specified in tnsnames.ora
, that is mounted in our Kubernetes namespace and Database authentication happens using the credentials that are stored CyberArk. What is the best way to implement LDAP OUD and get rid of tnsnames.ora? Where should the sql.ora and ldap.ora be configured within the golang code? How can this be setup in better way?
Researching online and trying to find the better approach