# Workflow HTTP Request Encryption

**URL:** <https://developer.sailpoint.com/discuss/t/workflow-http-request-encryption/86667>\
**Category:** SHF Discussion and Questions\
**Tags:** workflows, sailpoint-identity-security\
**Created:** [October 22, 2024, 4:36pm UTC](https://developer.sailpoint.com/discuss/t/workflow-http-request-encryption/86667 "2024-10-22T16:36:08Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Santhakumar](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/santhakumar/32/17329_2.png) [@Santhakumar](https://developer.sailpoint.com/discuss/u/Santhakumar)\
**Post date:** [October 22, 2024, 4:36pm UTC](https://developer.sailpoint.com/discuss/t/workflow-http-request-encryption/86667/1 "2024-10-22T16:36:08Z")

</div>

Hi,

I want to encrypt the client secret that i have used in HTTP Request in workflow. However i have used OAuth credentials as Auth Type and it was encrypted in the UI. But when i have checked from API i am able to see the clientSecret there.

Is there any other way to handle this. Also i have searched the community regarding but i can’t find much more.

Thanks,  
Shantha Kumar

---

<div class="post-metadata">

**Author:** ![Santhakumar](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/santhakumar/32/17329_2.png) [@Santhakumar](https://developer.sailpoint.com/discuss/u/Santhakumar)\
**Post date:** [October 29, 2024, 9:02am UTC](https://developer.sailpoint.com/discuss/t/workflow-http-request-encryption/86667/2 "2024-10-29T09:02:00Z")

</div>

Hi All,

As of now it’s ok that the encryption is happening in the UI, but if you have any idea to this pls add your thoughts here.

Thanks

---

<div class="post-metadata">

**Author:** ![neeraj99](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/neeraj99/32/14001_2.png) [@neeraj99](https://developer.sailpoint.com/discuss/u/neeraj99)\
**Post date:** [October 30, 2024, 3:08pm UTC](https://developer.sailpoint.com/discuss/t/workflow-http-request-encryption/86667/3 "2024-10-30T15:08:03Z")

</div>

Hi @Santhakumar  
This is weird the secret should be encrypted as well; It should look something like this

```auto
$secret.SomeID

```

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/1/c/1cb70b75188fc070698821ce610b7dcb4b765713.png)

This is how it looks on my tenant.

And i have confirmed this as well that for every workflow it is something different $secret.ID even though the secret is used same in all the workflows.

Maybe try creating a new workflow because OOTB sailpoint workflows supports this.

---

<div class="post-metadata">

**Author:** ![neeraj99](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/neeraj99/32/14001_2.png) [@neeraj99](https://developer.sailpoint.com/discuss/u/neeraj99)\
**Post date:** [October 30, 2024, 3:08pm UTC](https://developer.sailpoint.com/discuss/t/workflow-http-request-encryption/86667/4 "2024-10-30T15:08:43Z")

</div>

If it still doesn’t works, best route would be to raise a ticket with sailpoint.

---

<div class="post-metadata">

**Author:** ![Santhakumar](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/santhakumar/32/17329_2.png) [@Santhakumar](https://developer.sailpoint.com/discuss/u/Santhakumar)\
**Post date:** [October 30, 2024, 3:18pm UTC](https://developer.sailpoint.com/discuss/t/workflow-http-request-encryption/86667/5 "2024-10-30T15:18:00Z")

</div>

@neeraj99 It’s look good in the picture you have shown. If you check under formRequestBody it was not encrypted there.

---

<div class="post-metadata">

**Author:** ![neeraj99](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/neeraj99/32/14001_2.png) [@neeraj99](https://developer.sailpoint.com/discuss/u/neeraj99)\
**Post date:** [October 30, 2024, 3:23pm UTC](https://developer.sailpoint.com/discuss/t/workflow-http-request-encryption/86667/6 "2024-10-30T15:23:00Z")

</div>

> [@Santhakumar](#):
>
> formRequestBody

Can you share the snippet of the code or image? I want to understand which action is it that you have used?

---

<div class="post-metadata">

**Author:** ![Santhakumar](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/santhakumar/32/17329_2.png) [@Santhakumar](https://developer.sailpoint.com/discuss/u/Santhakumar)\
**Post date:** [November 1, 2024, 10:23am UTC](https://developer.sailpoint.com/discuss/t/workflow-http-request-encryption/86667/7 "2024-11-01T10:23:26Z")

</div>

@neeraj99 I have previously used the Auth type as None and used the POST method to generate the token using the form-data as body format.

After then i have changed it to OAuth does this will affect or it will shows the formRequestBody when we take the WF through API or download the script.

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/a/f/afa2ab5a871258402c8c7a9bfa82c5c30c41384c.png)

---

<div class="post-metadata">

**Author:** ![Santhakumar](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/santhakumar/32/17329_2.png) [@Santhakumar](https://developer.sailpoint.com/discuss/u/Santhakumar)\
**Post date:** [November 1, 2024, 10:24am UTC](https://developer.sailpoint.com/discuss/t/workflow-http-request-encryption/86667/8 "2024-11-01T10:24:27Z")

</div>

It got resolved after i have created new workflow from the scratch. Thanks @neeraj99 for the input.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [December 31, 2024, 10:25am UTC](https://developer.sailpoint.com/discuss/t/workflow-http-request-encryption/86667/9 "2024-12-31T10:25:22Z")

</div>

Closed on December 31, 2024, 10:25am UTC

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