Credentials required for host discovery
There are credentials and permissions that Service Mapping requires for discovering hosts.
Prior to discovering applications, Service Mapping accesses hosts that applications run on and discovers them. Make sure that you provide all necessary credentials to allow host discovery.
The ServiceNow AI Platform provides a centralized way of configuring credentials for Discovery, Service Mapping, and other applications. It allows you to configure credentials for hosts and applications only once. If you have already configured host-related credentials for another application, you do not need to do it again for Service Mapping.
Credentials required for discovery of hosts running on UNIX or Linux
Discovery, Orchestration, and Integration Hub explore UNIX and Linux devices by using SSH credentials to execute commands over Secure Shell (SSH).
To provide sufficient permissions, configure one of the following UNIX and Linux credentials:
- Non-root user and password and using the ‘sudo’ utility to run selected commands as root
- Root user and password
For information on commands requiring sudo-level rights, see Service Mapping commands requiring a privileged user and Commands that require root privileges for Discovery and Orchestration.
To access Unix-based hosts with non-root credentials, provide the read access to the following files and directories:
- /etc/*release
- /etc/bashrc
- /etc/profile
- /proc/cpuinfo
- /proc/vmware/sched/ncpus
- /var/log/dmesg
- APD directory
Credentials required for discovery of hosts running on Windows servers
To provide sufficient permissions, configure one of the following Windows credentials:
-
A domain user with local administrator access on the target Windows hosts.
-
A domain administrator.
Note: You may need domain administrator credentials only in some cases. For example, when discovering domain controllers.
Configure MID Server to use Windows credentials.
(Optional) For discovering using the WinRM protocol, see Configure WinRM trusted hosts on MID Server.
Resolving credential-related issues
If there are discovery issues caused by incorrectly configured or missing credentials, resolve them as explained in the KB article: Credentials & Permissions troubleshooting on Discovery, Service Mapping, Orchestration
Parent Topic:Prerequisites for performing top-down discovery using Service Mapping
---
title: Credentials required for host discovery
description: There are credentials and permissions that Service Mapping requires for discovering hosts.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/it-operations-management/service-mapping/r\_Credentials4HostDiscovery.html
release: brazil
product: Service Mapping
classification: service-mapping
topic_type: reference
last_updated: "2026-09-10"
reading_time_minutes: 1
breadcrumb: [Prerequisites for performing top-down discovery, Configuring Service Mapping, Service Mapping, ITOM Visibility, IT Operations Management]
---
# Credentials required for host discovery
There are credentials and permissions that Service Mapping requires for discovering hosts.
Prior to discovering applications, Service Mapping accesses hosts that applications run on and discovers them. Make sure that you provide all necessary credentials to allow host discovery.
The ServiceNow AI Platform provides a centralized way of configuring credentials for Discovery, Service Mapping, and other applications. It allows you to configure credentials for hosts and applications only once. If you have already configured host-related credentials for another application, you do not need to do it again for Service Mapping.
## Credentials required for discovery of hosts running on UNIX or Linux
Discovery, Orchestration, and Integration Hub explore UNIX and Linux devices by using SSH credentials to execute commands over Secure Shell \(SSH\).
To provide sufficient permissions, configure one of the following UNIX and Linux credentials:
- Non-root user and password and using the ‘sudo’ utility to run selected commands as root
- Root user and password
For information on commands requiring sudo-level rights, see [Service Mapping commands requiring a privileged user](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/service-mapping/r_CommandsnCredentials.md) and [Commands that require root privileges for Discovery and Orchestration](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/platform-security/r_SSHCredentialsForm.md).
To access Unix-based hosts with non-root credentials, provide the read access to the following files and directories:
- /etc/\*release
- /etc/bashrc
- /etc/profile
- /proc/cpuinfo
- /proc/vmware/sched/ncpus
- /var/log/dmesg
- APD directory
## Credentials required for discovery of hosts running on Windows servers
To provide sufficient permissions, configure one of the following Windows credentials:
- A domain user with local administrator access on the target Windows hosts.
- A domain administrator.
**Note:** You may need domain administrator credentials only in some cases. For example, when discovering domain controllers.
Configure MID Server to use [Windows credentials](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/platform-security/r_WindowsCredentialsForm.md).
\(Optional\) For discovering using the WinRM protocol, see [Configure WinRM trusted hosts on MID Server](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/servicenow-platform/enable-winRM-MID-servers.md).
## Resolving credential-related issues
If there are discovery issues caused by incorrectly configured or missing credentials, resolve them as explained in the KB article: [Credentials & Permissions troubleshooting on Discovery, Service Mapping, Orchestration](https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0657528)
**Parent Topic:**[Prerequisites for performing top-down discovery using Service Mapping](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/service-mapping/prerequisites-service-mapping.md)
| title | Credentials required for host discovery |
| description | There are credentials and permissions that Service Mapping requires for discovering hosts. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/it-operations-management/service-mapping/r\_Credentials4HostDiscovery.html |
| release | brazil |
| product | Service Mapping |
| classification | service-mapping |
| topic_type | reference |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | Prerequisites for performing top-down discoveryConfiguring Service MappingService MappingITOM VisibilityIT Operations Management |