Search the VMware Knowledge Base (KB)
View by Article ID

Creating a VMware credential store file for third party plugins (2004016)

  • 1 Ratings


This article provides steps to create a VMware credential store XML file that is used by 3rd party plugins to authenticate with vCenter Server using credentials that are already stored.


The VMware credential store XML file can be created using the PowerCLI New-VICredentialStoreItem commandlet. For more information, see the vSphere PowerCLI documentation.

To create the VMware credential store XML file:

  1. Connect to vCenter Server using the command:

    Connect-VIServer -Server <Server_Address>

    Where <Server_Address> is the IP address or DNS name of vCenter Server or the ESX host.

  2. When prompted, enter your user name and password to authenticate with the server.
  3. Use this command to create the credential store XML file:

    New-VICredentialStoreItem -Host <vCenter server name/IP> -User <User name of vCenter server administrator> -Password <Password> -File <Location where you want to save the file to along with file name>

  4. Mention the location of the XML file created in the above step when prompted during the installation of third party plugins.

Additional Information

For vSphere PowerCLI Cmdlet usage, see vSphere PowerCLI Documentation



Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.


  • 1 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)

Please enter the Captcha code before clicking Submit.
  • 1 Ratings