What Are The Type Of Password In ServiceNow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2024 01:31 AM
What Are The Type Of Password In ServiceNow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2024 06:11 PM
Hi @shubham92
Based on type of encryption,
There are two types of passwords based on their type of encryption, one way encrypted and two way encrypted.
The password field in sys_user table is one way encrypted field, which can not be decrypted by using GlideEncrypter.
On the other hand 2 way encrypted passwords can be decrypted by using GlideEncrypter, for example, client secret in oAuth config record or a password stored in credentials record etc.
Please mark my answer helpful and accept as a solution if it helped 👍✅
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2024 07:29 PM
Hi @shubham92
There are 2 field types for password in ServiceNow.
Password (1 Way Encrypted) | Text field that stores passwords with one-way encryption. One-way encryption stores the password as a secure hash value that cannot be decrypted. |
Password (2 Way Encrypted) | Text field that stores passwords with two-way encryption. Two-way encryption stores the password as a secure encrypted value that can be decrypted programmatically within the instance. You can use Password 2 encryption with form variables. To encrypt text fields on forms, use Password2 encryption with KMF. The length for password2 field values must be at least 255 characters. |
Ref: Field types
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2024 06:46 AM
Hi @shubham92 ,
Please refer the below link.
Mark my answer as accepted solution and helpful if helps you.
Thanks,
Nivedita Patil.