Question

Using GCP EL credentials in a custom function

  • 21 February 2024
  • 0 replies
  • 10 views

Hi Everyone.

We are working in a solution which integrates GCP Secret Manager and Streamsets.

The client stores a secret in JSON format, and wants to extract a field with his data.

 

Is similar to this format:

 

 

 

How can I extract the dbuser field??

I now there are custom functions, but don’t know if I can use the EL function from Streamsets to obtain the JSON info.

Can I use the ${credential:get("gcp", "group@org", "dbuser?latest") as an argument? so the function returns only the dbuser value.

 

Thanks!

 


0 replies

Be the first to reply!

Reply