Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How to use password obtained from executescript in queryCassandra processor

How to use password obtained from executescript in queryCassandra processor

New Contributor

HI, my company does not allow us to use non-managed service accounts (i.e. user knows the id/pwd) to access production systems. Instead they provide means to get the creds at run time by using an alias and calling a provider. I have a flow that queries Cassandra. I have the executescript running python getting the id/pwd from a supplied alias working fine and putting that in the downstream flowfile as an attribute. But the query cassandra processor will only allow a password from the variable registry. I do not know how to use the password obtained at runtime for this. Can you please provide your suggestions or guidance on how to proceed? Thank you. 

Don't have an account?
Coming from Hortonworks? Activate your account here