You can use Perl to manage the credential store.

You can use the following approaches.

Use the subroutines in VICredStore.pm in your Perl script. See vSphere Credential Store Subroutine Reference for reference documentation. The credstore_admin.pl script illustrates how to use the subroutines.

Use the \apps\general\credstore_admin.pl commands to manage the store interactively.

Important

Create a user with appropriate privileges and store the corresponding user name and password in the credential store. Do not use the root or administrator user and the corresponding password.