Orchestrator API authentication with securestring

Hi, I am trying to build a project meant for an unattended bot using the Orchestrator API to retrieve user data. Is there any way to authenticate without using plain text? I tried retrieving credentials from orchestrator but the LoginModel does not accept securestring format.
Any Ideas?


you just have to convert the secure-string to a string

string password = new System.Net.NetworkCredential(string.Empty, securePassword).Password;

requests to the orchestrator are usually ssl-encrypted, so this should not be a big problem or?

1 Like

Just trying to stick to good practices by not putting a password in plaintext :slightly_smiling_face:. I tried your suggestion and it works wonderfully, thank you!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.