puppet enterprise : 2019.8.1 Oracle: 12c On Friday, January 22, 2021 at 1:10:42 PM UTC+5:30 Vinay Korrapati wrote:
> Hi Team, > > Can we pass the credentials in custom facts in secure way? > > *Use case : *I have to write a fact which , executes a Query on Oracle > DB's and returns the output. > > To execute the query it requires the credentials ($oralogin). > Eg: > > $OracleUserName="username" > $OraclePassword="password" > > $OraLogin = "$OracleUserName/$OraclePassword@" + $oraInstance + " as sysdba" > > $Query | sqlplus -silent $OraLogin > > Any thoughts/suggestions to pass the credentials in secure way ? > > Regards > Vinay > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/149bea7f-2cf8-4e38-8fd6-225b34e90912n%40googlegroups.com.