6.5

Table Of Contents
VMware, Inc. 61
B
ThevSphereSDKforPerlcredentialstorelibrarycanbeusedtoautomatethelogonprocessfornoninteractive
clientapplicationsbystoringthepasswordinasecuredlocalcredentialcachethattheapplicationcanaccess
atruntime.YoucanmanagethevSpherecredentialstoreusingthecredentialstorelibraryincluded
inthe
vSphereSDKforPerlanddiscussedinthisappendix.
IfanapplicationauthenticatesitselftoavCenterServersystem,itrequiresnoadditionalauthenticationto
accessanyoftheESX/ESXisystemsmanagedbythatvCenterServersystem.
Authenticationcanoccurasfollows:
Specifyingtheauthenticationinformationexplicitlyusingoneofthecommandlineparameters(user
nameandpassword,url,andsoon)orconfigurationfileparameters.See“vSphereSDKforPerlCommon
Options”onpage 12.
Usingasessionfile.See“UsingaSessionFile”onpage 13.
UsingMicrosoftSSPI,discussedin“UsingMicrosoftWindowsSecuritySupportProviderInterface
(SSPI)”onpage 15.
UsingthecredentialstorePerlLibrary,whichisincludedinthevSphereSDKforPerlanddiscussedin
thisappendix.
See“vSphereSDKforPerlCommonOptions”onpage 12foradiscussionoftheorderofprecedence.
Thisappendixexplainshowtosetupandusethecredentialstoreandincludes
areferencetocredentialstore
subroutines.Theappendixincludesthefollowingtopics:
“CredentialStoreOverview”onpage 61
“CredentialStoreComponents”onpage 62
“ManagingtheCredentialStore”onpage 62
“UsingtheCredentialStore”onpage 62
“vSphereCredentialStoreSubroutineReference”onpage 63
“credstore_admin.plUtilityApplication”onpage 65
Credential Store Overview
Clientapplicationsthatlaunchautomaticallyforunattendedoperations,suchascronjobsandsoftware
agents,mustbeabletologintotheESX/ESXihostswithoutuserassistance.ThevSphereWebServicesSDK
providesclientsidecredentialstorelibrariesandtoolsforautomatingtheloginprocessinamoresecure
manner.
Afterthecredentialstorehasbeensetup,systemadministratorsarenolongerrequiredtokeep
passwordsinlocalscripts.ThecredentialstorecanbesetupforanESX/ESXisystem,orforavCenterServer
system.IfanapplicationauthenticatesitselftoavCenterServersystem,itrequiresno
additional
authenticationtoaccessanyoftheESX/ESXisystemsmanagedbythatvCenterServersystem.
Thecredentialstoreconsistsof:
Credential Store Perl Library
B