API to change passwords

Hello everyone,

I have a database in which the passwords for the PLC users are stored for each customer project. I would now like to write a tool that automatically transfers the passwords to my Automation Studio projects.

Means I have to change the password in the config file of the project. Here I encounter the problem that the passwords are saved as a hash.

Is there any tool that I can use to hash my passwords from the database and then copy them into the config file?

Greetings
Jan

Hello,

I think we need more information about which passwords you want to change, i.e. for the user/role system, security, VNC, FTP etc.

In the case of directly generating hashes from outside the AS, I have my doubts, because that would mean knowing the hash algorithm used.

In the case of the user/role system, it is probably better not to save the passwords in the project, but to set them with ArUser, for example.

1 Like

Hi Christopher,

thank you for your feedback.

I would like to change the passwords in user management and in the FTP server.

The hint with ArUser is very helpful. But what about FTP?

greeting
Jan

Unfortunately I’ll have to pass, but there are still a few clever minds here.