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

How would you do this in the C# interface of a coded workflow with the the Get Credential activity? Is there a web API we are supposed to use? What is the convention?

@edevries,

Refer this solution

2 Likes

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

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