---
sourceDocument: Yokohama IT Operations Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/it-operations-management

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# Create the credential and service account that will access your VMware data

# Create the credential and service account that will access your VMware data {#vmware-create-creds-cloud-mgt__title-vmware-create-creds}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read

To securely access data on your provider account, the Discovery process must present appropriate credentials. To make the credentials available to Discovery, you first create an account in the VMware Console. You then securely
store the credentials in a service account in your instance.

## Before you begin

Roles required:

* VMware Console administrator
* Cloud Provisioning and Governance: admin or sn_cmp.cloud_admin
{#vmware-create-creds-cloud-mgt__ul_xnz_4wv_ndb}

## About this task

Cloud providers often use different names for accounts, regions, and credential settings. Because the ServiceNow application supports several cloud providers, the app uses general-purpose names for the settings.

## Procedure

1. In the Cloud Admin Portal, navigate to ManageCredentials.
2. On the Credentials tab, click New, select VMware Credentials, fill in the form, and then click Submit.  
   {#vmware-create-creds-cloud-mgt__table_z2w_qds_tdb__entry__2}

   | Field | Input value |
   |-|-|
   | Name | Unique and meaningful name for the credentials (for example, <kbd class="ph userinput">Cloud Management VMware Credentials</kbd>\`). |
   | Active | Select the check box to enable the credential for use. |
   | User name | User name for access to your vSphere account. |
   | Password | Password for access to your vSphere account. |
   [Table 1. VMware Credentials form fields]

   {#vmware-create-creds-cloud-mgt__table_z2w_qds_tdb}
3. Navigate to Cloud Admin PortalManageService Accounts, click New, enter a unique and meaningful Name (for example, <kbd class="ph userinput">Cloud Provisioning Service Account</kbd>), and then fill in the form.  
   {#vmware-create-creds-cloud-mgt__table_f43_sps_tdb__entry__2}

   |   |   |
   |-|-|
   | Account ID | There are two methods for determining the value: * If you have access to the managed object browser for the vCenter (MOB): The Account ID is the instance UUID. Open the MOB and then click ContentAbout. Paste the value of the instanceUuid property in the Account ID field. * If you do not have access to the MOB, enter a temporary alphanumeric text such as <kbd class="ph userinput">5ca3033a-1290-4a02-8221-2c5f2f29be8b</kbd> in the Account ID field. In a step that follows this table, you create the actual value and then return to this form to replace the temporary text with the actual value. {#vmware-create-creds-cloud-mgt__ul_grh_1pz_tdb} |
   | Discovery credentials | Name of the credentials that you created in the preceding step. <kbd class="ph userinput">Cloud Provisioning VMware Credentials</kbd> in the example. |
   | Datacenter URL | Full URL of the vCenter, for example: `https://<IP address>/sdk`. |
   | Datacenter Type | Select VMware vCenter datacenter \[cmdb_ci_vcenter_datacenter\]. |
   | Datacenter discovery status | Auto-generated value: Status and timestamp of the last execution of Discovery on the datacenter. |
   | Should pull events | Enables Cloud Provisioning and Governance to collect events from resource types in VMware vCenter datacenter in the `sn_cmp_cloud_event_list `. |
   [Table 2. Service Account for VMware form]

   {#vmware-create-creds-cloud-mgt__table_f43_sps_tdb}
4. Click the Discover Datacenters related link.  
   Using the credential, Discovery accesses the vCenter at the specified URL to discover VMware datacenters.
5. If you used the instance UUID value in the Account ID field, click Submit and skip the remaining steps in this procedure.  
   The system creates the service account and displays the list of all service accounts.
6. On the Cloud Admin Portal, navigate to OperateTrails.
7. On the Cloud API Trail tab, find the entry with the Method name value of ListDatacenters and Provider name value of vmware-compute (typically the most-recent entry).  
   Open the entry.
8. On the CAPI Trail Logs related list, open the route_result entry.
9. In the Log value text box, copy the locationId value.  
   This value is the Account ID that you will paste into the form in the next step. {#vmware-create-creds-cloud-mgt__step-location-id}
{#vmware-create-creds-cloud-mgt__step-location-id}
10. On the instance, navigate to Cloud Admin PortalManageService Accounts and then click the service account that you created earlier (<kbd class="ph userinput">Cloud Provisioning Service Account</kbd> in the example).
11. Paste the locationId value (that you copied from the CAPI Trail Log form) in the Account ID field on the form and then click Update.
12. Click Submit.  
    The system creates the service account and displays the list of all discovered datacenters.
{#vmware-create-creds-cloud-mgt__steps_fsy_zfd_yy}
**Related concepts**   

* [Discovery for VMware Cloud](https://servicenow-prod.fluidtopics.net/A9win3bz0rwBnjYAZxjuXg "Applications that access VMware cloud resources need access to VMware credentials.")

*[\>]: and then


