Currently, I am storing the credentials in an XML file and consuming them in the code. But I don't want to store the credentials in XML due to security reasons.
Is it possible to store the credentials in the Windows credentials store and fetch them in code? Is it possible to access the Windows credentials store from a data miner?
Also, please suggest if there are any other better options to store and fetch the credentials to improve security.
I am not sure using Windows Credentials is a good option because it would rely on that server available or for it to be configured on the entire cluster. Does anyone know of a secure way to save them within Dataminer, either by a configurable hidden parameter in the XML or are people building a driver to encrypt and to store them?
Hi Ramesh,
I see that this question has been inactive for some time. Do you still need help with this? If not, could you select the answer that has been most helpful for you (using the ✓ icon)?
As this question has now been inactive for a long time, I will close it. If you still want more information about this, could you post a new question?
Hi Ramesh,
I'd like to inform that we're further looking into expanding the existing DataMiner credentials library to incorporate support for Automation Scripts.
Kind Regards,
Hello Ramesh,
Some weeks ago I posted a similar question in Dojo. In my case, I wanted to move the credentials from the code to somewhere safer and providing better privacy. The answer I got could help you. As far as I know, there is no way right now of storing them in Dataminer.
Hi Ramesh,
If using an external service is possible for your configuration, you could also consider using a service like the Azure Key Vault, Keys are stored in the Azure cloud, and there is an easy to use API and nuget (Azure.Security.KeyVault.Secrets) that allows you to retrieve the credentials from C# code.
Hi Ramesh,
As mentioned by Jon, currently there is no mechanism to store credentials in DataMiner. There are already a feature suggestion that covers your use case:
Option to link a credential library to an automation script
Regards,
I am using dataminer automation scripting solution