- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2019 05:33 PM
Hello,
I am using a set of credentials in one of my script so that I can retreive some data.
Is there any place in ServiceNow where I can store these credentials so I can just call them in scripts ?
Best would be if they were a Password 2 field type so I can decrypt them in the script only or a password that I can encode.
I am interested if there is any standard place for storing this sort of intro, I would like to not add any fields or make modifications to other tables.
Any ideas ?
Thank you !
Solved! Go to Solution.
- Labels:
-
Integrations
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2019 07:38 PM
Use system properties to store the password.
You can create a system property record of type password/password2.
for more details check the below link:
https://docs.servicenow.com/bundle/london-platform-administration/page/administer/reference-pages/task/t_AddAPropertyUsingSysPropsList.html
-satheesh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2019 06:18 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2019 07:38 PM
Use system properties to store the password.
You can create a system property record of type password/password2.
for more details check the below link:
https://docs.servicenow.com/bundle/london-platform-administration/page/administer/reference-pages/task/t_AddAPropertyUsingSysPropsList.html
-satheesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2019 08:53 AM
Hello,
I tried to create a system property password2, the problem is when I try to decrypt it, it does not work, it just returns the encrypted string.
Any ideas ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2023 07:23 AM
Here is a link that will always go the latest version of the article linked above:
https://docs.servicenow.com/csh?topicname=t_AddAPropertyUsingSysPropsList.html&version=latest
--------------------------------------------------
Workflow Cowboy
LinkedIn: https://www.linkedin.com/in/dalestubblefield/
YouTube: https://www.youtube.com/@starlordnow