Orchestrator API : access credentials in assets

Hi,
I’m working on a project using Orchestrator API.
When I tried to access assets of ValueType : credential, the Credential password field return null.

I’m using endpoint : /odata/Assets

I can retrieve the username and other details. How can I access the credential password through API?

Thanks in advance.
@Palaniyappan @lakshman

@shankm

Have you checked below thread ?

https://docs.uipath.com/orchestrator/reference#assets-requests

1 Like

@lakshman
Yes, I’m using that same endpoint. But the password field is empty while returning.

1 Like

@shankm

Password will be secure string.

@lakshman
Ok, if so, how can I get that securestring? Is there any options to use the credentials stored in the UiPath orchestrator outside UiPath, using API?

@shankm

Check below thread to convert secure string to String.

Convert SecureString to String - Get Secured Credential

This is the response I’m getting from the API, how can I find a secure string from this response?

Hi,

Do we have an answer for this? Or any workaround available? In orchestrator 2019, the api call to get a credential asset always returns a blank password just as shown in the screenshot by @shankm

Thanks,
Arun

As far as I am aware, it’s not possible to retrieve a password via the API.

Chris

1 Like

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