How to connect to AWS Secrets Manager

I have used the Amazon Web Services scope, and can connect to our AWS instance, however, I need to connect to our Secrets Manager. Can anyone suggest how this is accomplished in UI Path? I even tried the HTTP Request activity, but, I always get this error:

400: {“__type”:“InvalidSignatureException”,“message”:“The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.”}

Thanks in advance.

P.S. I can get it to work in PostMan, and even copied the cURL code from PostMan to the Import function of the HTTP Request activity.

@scott_zielinski

With curl import also are you getting same error?

Can you check the headers tab of postman and see any extra headers are configured

Cheers

Yes.

Can you check the headers tab of postman and see any extra headers are configured

I looked at the Headers, and there are additional ones, such as the PostMan ID, etc., but they are not used by AWS, and so aren’t a part of the signed headers.

@scott_zielinski

Generally these are created with timestamp so might be that the signature that is being used ia outdated…but if the same is working from postman then there must be some extra argument that is getting added…cross verify once with body header and format type parameters

Cheers

Hi @scott_zielinski
Use the credential store feature in UiPath to get credentials.

Refer this link: AWS Secrets Manager integration

Regards,
Kaviyarasu N

Thank you. Unfortunately, I don’t have access to create a credential store.

Hi @scott_zielinski
This feature is available in UiPath Orchestrator, so get the required permission and try to create an AWS security credential.

If I answered your questions, mark it as a solution.

Regards,
Kaviyarasu N

Hi @Kaviyarasu_N ,

I am unable to retrieve credential from AWS secret manager. AWS team performed all prerequisites, but after setting credential store, in unattended run, its unable to retrieve credentials. Can you help.

Regards,
rds

Hi @scott_zielinski , did you manage to find a solution for this? I’m also getting the same error. Thank you!

Hi @Kaviyarasu_N , how do you use the credential stores and retrieve the secrets in studio? What activities are available in UiPath?