credstore_admin.pl - add, remove, get, list and clear entries stored in credential store.
credstore_admin.pl [options]
This command can be used to add, remove, get, list and clear entries stored in credential store.
Add an entry into the credential store. User must specify the server using the --server option and username using the --username option. If password is not specified at command line, then user is prompted to enter the password.
Retrieve password from credential store. User must specify the server using the --server option and username using the --username option.
Remove existing entry from credential store. User must specify the server using the --server option and username using the --username option.
List existing entry from credential store. User can use the --server option to specify the server. In such a case, entries specific to that server will be listed. Optionally user can specify the --showpw option. This will list the password along with the server and username.
Remove all existing entries from credential store.
This will display the usage details for the credstore_admin.pl.
Location of credential store file can be specified using the --credstore option. If credential store filename is not specified, then it defaults to the following location:
UNIX: $HOME/.vmware/credstore/vicredentials.xml WINDOWS: %APPDATA%\VMware\credstore\vicredentials.xml
Add new entry into the credential store:
credstore_admin.pl add --server <server> --username <username> --password <password>
Retrieve password from credential store:
credstore_admin.pl get --server <server> username <username>
Remove existing entry from credential store:
credstore_admin.pl remove --server <server> --username <username>
List existing entries from the credential store:
credstore_admin.pl list [--server <server>] [--showpw]
Delete all entries from credential store:
credstore_admin.pl clear
Display the usage details:
credstore_admin.pl help
VI Toolkit (for Windows).