Is there a way to get credentials from Orchestrator in a coded workflow?

Hi @edevries

Use Get Credential activity ,

var credential = GetCredential(“Your_Asset_Name”);
string username = credential.Username;
string password = credential.Password;

For Web API, authenticate and get a token.
Call /odata/Credentials API with the asset name.
Extract username and password from the response.

Happy Automation.

1 Like