6.0

Table Of Contents
VMware, Inc. 65
Chapter B Credential Store Perl Library
Parameters
serverServerforwhichallusernamesarelisted.
Returns
Returnsalistofallusersbelongingtothespecifiedserver.
close
Closesthecredentialstore,andfreesallresourcesassociatedwithit.Ifyouwanttorunadditionalcredential
storesubroutines,youmustruninitagaintoreinitializethecredentialstore.
Callcloseonlyonceforeachcredentialstoreinitializedbyacalltoinit.
Parameters
Noparameters.
Returns
Returnsnothing.
credstore_admin.pl Utility Application
credstore_admin.plisautilityapplicationyoucanuseforcredentialstoreadministration.Atthesametime,
theutilityservesassamplecodeifyouwanttowriteyourownscript.
Inadditiontotheoptionslistedin“CommonOptionsReference”onpage 16,theutilitysupportsthefollowing
options:
Table B-1. Command-line Options for credstore_admin.pl
Option Description
add
-s|--server <server>
-u|--username <username>
-p|--password <password>
-t|--thumbprint <thumbprint>
Addsanewusernameandpasswordentryintothecredentialstore
forthespecifieduser.
Alternatively,addsthethumbprintforaspecifiedserveriothe
credentialstore.
Note:Youcannotaddtheusername,password,andthumbprintfor
aserverwithonecommand.Addfirsttheusername
andpassword,
andrunthecommandagaintoaddthethumbprint.
get
-s|--server <server>
-u|username <username>
-t|--thumbprint <thumbprint>
Retrievesthepasswordorthethumbprintforthespecifieduser
fromthecredentialstore.
remove
-s|--server <server>
-u|--username <username>
-t|--thumbprint <thumbprint>
Removesanexistingpasswordoranexistingthumbprintforthe
specifieduserfromthecredentialstore.
list
[-s|--server <server>]
Listsexistingentries.
clear Deletesall
entriesfromthecredentialstore.