- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2025 01:30 AM
Hi Folks,
What is the best way to keep client ID and Secret secure in ServiceNow instance?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2025 02:13 AM
2 ways
1) have field level READ ACL on those 2 Fields on OAuth App registry and show only when role is security_admin
OR
2) enable column level encryption and give encryption context, only users with that encryption context can see it
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2025 01:35 AM
Could you clarify which context you're referring to? Are you asking about a specific module, data, dashboard, or integration or another area?
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2025 01:37 AM - edited 03-24-2025 01:38 AM
ServiceNow provides an Encrypted Text data type that can be used to store sensitive information like Client IDs and Client Secrets securely.
Go to System Definition > Dictionary.
Create a new dictionary entry for a custom table where you will store the Client ID and Client Secret (e.g., u_credentials table).
- Define fields as Encrypted text for it.
If you mensioning about credentials. Use OAuth 2.0 Application Registry for securely managing OAuth credentials.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2025 01:46 AM
I think the only users with security_admin role can fully access and manage the OAuth related things. So, one way could be to limit this role.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2025 02:13 AM
2 ways
1) have field level READ ACL on those 2 Fields on OAuth App registry and show only when role is security_admin
OR
2) enable column level encryption and give encryption context, only users with that encryption context can see it
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader