Key Vault type Credential Store in Cloud Orchestrator - Asset configuration

Hi everyone,
I’m configuring the asset finalized to the credentials retrieve from Azure after completing the creation of Azure Key Vault in the tab “credential store”. I need indications about the required fields “Username” and “password” as shown in the attached screenshot. When I set default values for username and password, the “Get credentials” activity from Studio retrieves those default values and not the ones stored on Azure Key Vault.
Any help?
Kind regards
Thanks in advance,

Hi @Enza,
Welcome to the Community!
The Cloud Orchestrator Assets are only for pre-defined data. You can treat them as a read/write data. For this kind of usage you may consider the UiPath Data Service.

Hi Pawel,
I have a secret configured on Microsoft Azure and, in order to retrieve it, I added and set up an Azure Key Vault Credential Store on cloud orchestrator.
In which way can I link it to robot? Is there any specific activity?
Thank you in advance for your help.

There is a dedicated package for Azure:
image

which will give you this:
image

1 Like

I solved my issue as you suggested: the Azure “Get secrets activity” works for me!
I was able in getting the Azure secret, can you suggest me the way to utilize the retrieved secret to obtain username and password values too? My robots needs to login to a Microsoft account.
Lot of thanks.
Best regards

I’m not 100% sure but from what I see this activity returns an array of secrets so you need probably go by each one using for each loop and then one of the property for such item should have something line Value which I guess is the password written inside.

Hi Enza,

Did you solve how to retrieve secret to obtain username and password values? If yes, can you let me know?

Thanks!

You can also filter the secrets in the get secret activity so you don’t retrieve them all. But yes it does come back as an array. If you just have one secret you can just convert it to a string then to a secure string by doing this. The password will be replaced by your chosen variable in the get secret activity. But it’s probably better practice to just loop through.
new System.Net.NetworkCredential(“”, password.ToString).SecurePassword

Hi , Anyone having the issue that asset names are stored in encrypted format in azure key vault . username and password i can retrieve from key vault .

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