How to use basic auth credential type in ServiceNow discovery?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2023 03:15 AM
How to use basic auth credential type in ServiceNow discovery?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2023 03:20 AM
Hi @jack33 ,
In ServiceNow Discovery, Basic Authentication is typically used when discovering devices or applications that require a username and password for authentication. The credentials are provided in the form of a username and password pair. Here's how you can set up Basic Authentication credentials in ServiceNow Discovery:
1. **Navigate to Credential Store:**
- In the ServiceNow platform, navigate to "Discovery" > "Credentials" to access the Credential Store.
2. **Create a New Credential:**
- Click on "New" to create a new credential record.
3. **Select Credential Type:**
- Choose "Basic Auth" as the credential type.
4. **Fill in Credential Details:**
- Provide the necessary details:
- **Name:** A descriptive name for the credential.
- **Username:** The username for Basic Authentication.
- **Password:** The password for Basic Authentication.
5. **Save the Credential:**
- Save the credential record.
6. **Use the Credential in Discovery:**
- Once the Basic Authentication credential is saved, you can use it in the Discovery process.
- Navigate to "Discovery" > "Discover Devices" or the relevant Discovery application.
- Edit the Discovery schedule or a specific probe, and under the "Credentials" section, choose the Basic Authentication credential you created.
7. **Run Discovery:**
- Save your changes and run the Discovery process.
Here's a basic example of how a Basic Auth credential record might look in ServiceNow:
- **Name:** MyBasicAuthCredential
- **Type:** Basic Auth
- **Username:** your_username
- **Password:** your_password
When you configure Discovery probes or schedules, you can select this credential for devices or applications that require Basic Authentication.
Please note that storing sensitive information like passwords in clear text is a security concern. Ensure that you follow your organization's security policies and consider using credential vaults or additional security measures to protect sensitive information.
Thanks,
Danish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2023 03:33 AM
Hi Danish,
Thank you for your reply,
I didn't get point no 6,can you help how and where I have to add newly created basic auth credential?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2024 02:48 PM
Hi Danish,
Question, can basic auth creds be domain based and if so what is the format allowed for populating/creating that cred. e.g. domain@user, domain.user, domain\user, user@domain? None of those formats appears to work successfully for us when we attempt to discovery Cohesity Storage devices using a domain based basic auth cred via a serverless discovery schedule utilizing a credential alias.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2024 08:58 PM
Hi @Danish Bhairag2 ,
For Storage discovery basic auth may not work ! May I know are you trying to discover it via SMIs ?
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....