Hi
I am developing a multi tenant app so I need to have multiple configurations in iparams.
So here is the iparams structure:
{configArr: [{apiKey: “”, domainName: “”, notSensitiveData: “”}, {apiKey:"", domainName:"", notSensitiveData:""}]}
I am securing the entire “configArr” as I am not sure how to secure apiKey and domainName inside every object in the array not to mention the customer may add more such configurations which will add more such objects inside the iparams.
But in app.js I need to access some data using client.iparams.get in the iparams which need not be secured,
as we have secured the entire “configArr” key it has now become impossible to fetch some data that is not sensitive which is inside the configArr which has been entirely made secure.
Either I need a way to fetch secured iparams data inside app.js or I need a way to selectively secure certain keys in every object inside the array which seems to be not possible.
Any suggestions, solution or workaround would be much appreciated.
Thanks
Syed