How to store sensitive data in config file?

I used pywinrm to connect with windows server ,password and IP address i am taking from config file so for security purpose i want hide or encrypt that data. how can i do this?

Hi @kiran.lohar - your best option will be to store the sensitive config as a secret, encrypted in the datastore and reference that in the config file.

here is the place in the docs to start reading.

1 Like