- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-24-2022 02:59 PM
so I need to send credentials to an external API, but their API requires the key and secret are base64Encoded. so I need to be able to store the secret somewhere so that I can still do this encoding to it. Regular password fields don't work because SeviceNow does their own encoding to passwords there. Any ideas?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-24-2022 05:53 PM
Hello
You can use a password field and set the value as needed, then when you need to access it, you can use the GlideEncrypter API to decode it, and go from there. This helps keep it more secure than in perhaps a system property, for example. Otherwise, you could try that too...
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-24-2022 05:53 PM
Hello
You can use a password field and set the value as needed, then when you need to access it, you can use the GlideEncrypter API to decode it, and go from there. This helps keep it more secure than in perhaps a system property, for example. Otherwise, you could try that too...
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-27-2022 06:41 AM
awesome, thank you.