Accessing a credential of the type AWS Secrets Manager (Read Only) created in the orchestrator credential store

Hello,

I have added a credential of the type AWS Secrets Manager (Read Only) in the orchestrator credential store. (Please refer to the attached image.)

Some posts in the UiPath community suggest that this credential can be accessed using the Get Credential activity, however, I have not been able to use the activity to access the AWS Secrets Manager from the credential store.

Please let me know if anyone knows how to access the AWS Secrets Manager from the credential store in UiPath Studio.

@Abhimanyu_Rawlley1,

Point to remember:

@Abhimanyu_Rawlley1

from get credential activity you need to pass asset name then only it will get the credentials.

try to go throw below documentation

Yes, I have already created a credential in AWS and got the corresponding keys that I have entered while creating the credential of the type AWS Secrets Manager in the credential store as shown in the attached image.

Yes, I have tried doing that as shown in the image below, but I get the error ‘Could not find the asset, Error code 1002’.

Please let me know if I need to enter the properties in the Get Credential activity in a different way.

That means there is no asset with that name,
check in orchestrator assets, what exactly you given in that asset that only you can access here

Yes, true. I was not being able to create the asset to be linked to the credential store as I was not entering the value for the External Name of the asset manually as some value was appearing in the External Name field by default.

I have created the asset now, but I am getting the error Get Credential: Failed to read Secrets_Access_Abhimanyu_Rawlley from Credential Store type AWS Secrets Manager (read only) Error code: 2304; Asset name: Secrets_Access_Abhimanyu_Rawlley.

For your reference, I am posting the images of the get credential activity, the top part of the asset created, the bottom part of the asset created, the credential store and the AWS secret manager respectively.

I just wanted to check if there is any need and way to pass the secret key ‘abc’ as entered in AWS to fetch the corresponding secret value “xyz” and if there is any need to add the robot asset value and/or the Properties (Key-value pairs) in the asset.

I have changed the external name field of the asset to the value “abc” to match with the secret key name in AWS. I am attaching the new image of my asset.

Hi @abhimanyu.rawlley1 / @Abhimanyu_Rawlley1
Please store your credentials in AWS secret has shown in below image

Also while creating the Asset please provide the external Name has your Secret store name
Example : if your secret manager name is “Secrets_Access_Abhimanyu_Rawalley”
Then the external name in the Asset also should be the same .

Please Mark it has a solution if it helps :grinning_face:

Reagrds,
Venu V
Happy Automation !!
Good Luck

2 Likes

Thanks, the issue is resolved now.

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