Encrypt password in REST call
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-29-2018 12:17 PM
I'm making a rest call from an external application to ServiceNow and I'm using basic authentication in the REST call.
Currently the password is being sent in plain text over HTTPS but I would like to have the password encrypted during the call. I know in the midserver config file that the user password gets encrypted. Is there a way for me to encrypt the password in a way that ServiceNow can decrypt it on the other end?
Thanks
Phil
- Labels:
-
Integrations
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-29-2018 11:25 PM
Hi Philip,
So your question is you have some external application which is consuming REST endpoint with GET method.
You want to send the username and password as encrypted over HTTPS. This you will have to check how you can do in the external application.
how it relates to ServiceNow internal functionality.
ServiceNow has given you endpoint, GET method, username and password. It depends on external application on how to consume the web service.
As far as I know whenever you consume REST API with basic authentication the username and password in base64encoded and put in Authorization header of HTTP so that it is not visible in the URL
Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2018 03:05 AM
Hi Philip,
Any update on this?
Can you mark my answer as correct, helpful and hit like if you were able to achieve the requirement. This helps in removing this question from unanswered list and helps users to learn from your thread. Thanks in advance.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader