Credential Store Components

The vSphere SDK for Perl includes two credential store files in its installation package.
  • VICredStore.pm
    – The Perl package for the credential store library is located in the following location.
    OS
    Location
    Windows
    \Program Files\VMware\VMware vSphere CLI\Perl\lib\VMware\VICredStore.pm
    Linux
    /usr/lib/perl5/site_perl/5.8.8/VMware/VICredStore.pm
    Perl applications can use this package to add, retrieve, delete, update, and list the entries stored in the credential store. The
    apps/general/credstore_admin.pl
    file is an example for credential store use.
    Each entry in the credential store is a tuple of host name, user name, and password. The password is stored in an obfuscated manner in the credential store.
  • credstore_admin.pl
    — A Perl application that uses
    VICredStore.pm
    for accessing the credential store. You can use
    credstore_admin.pl
    , which is an example, as a command-line interface to the credential store.
    credstore_admin.pl
    is located in the following location.
    OS
    Location
    Windows
    \Program Files\VMware\VMware vSphere CLI\Perl\apps\general\credstore_admin.pl
    Linux
    /usr/lib/vmware-viperl/apps/general/credstore_admin.pl