Is it possible to get the password for a JDBC connection to a server from an external vault?

Meloper
Kilo Sage

Is it possible to get the password for a JDBC connection to a server from an external vault during an import (data source) instead of writing it into the DataSOurce fields?

3 REPLIES 3

Yashsvi
Kilo Sage

Hi @Meloper,

please check below link:

https://www.servicenow.com/community/common-service-data-model-forum/could-you-please-tell-how-to-co...

Thank you, please make helpful if you accept the solution.

Shiva Prasad
Tera Contributor

OOB it is not possible, but you could do it by adding an external JAR file into the mid server. I wrote couple of java files which does the same and added as a jar to mid server. Concept is documented below. 

sprstays/SNVaultIntegration: SN vault resolver for JDBC datasources

wow 🙂 Thanks !