Hi all, a user has a requirement to export data from elements on a daily basis into files. I notice that DataMiner has a WebAPI to extract such data - GetTableForParameterV2. Unfortunately, the user is not poised to integrate directly to DataMiner WebAPI and requires data to be exported to files.
Question1:
One option would be to create an Automation Script to export the data to file. But instead of creating the logic to extract data from tables, is it recommended to call the WebAPI from Automation Scripts?
Question2:
If yes to the question above, how do we securely store credentials within Automation Scripts?
Hi Bing,
Before to proceed with the automation script, can you check if offload to a file fits your use case? (see the note)
If that feature does not fit your use case, I believe you could use the class library to retrieve information from the cluster and exported to a file. In that way you could bypass the handling of the credentials.
In case you would like to proceed with the Web API implementation, there is already a similar question related to how to safely use credentials in an automation script.
Hope it helps.
Thanks Miguel.