Read an encrypted string from source config in connector rule

We have a requirement where an API call needs to be made from JDBCProvisioning rule and I was hoping the API key for this could be stored encrypted in source config json and read from the connector rule.

Is it even possible? Has anyone done this?

I have not done for JDBC connector but yes you can add the API Key to the source using Patch Source Endpoint and retrieve it in your rule using application input object like this

application.getAttributeValue("apiToken")

Does this work in Connector rules? Or is it good for Cloud rules only?

It works in connector rule Nithesh. I used in webservice connector rules

1 Like

Thanks @udayputta
Let me give it a try