NAME
credstore_admin.pl - add, remove, list and clear entries stored in credential store.
SYNOPSIS
credstore_admin.pl [options]
DESCRIPTION
This command can be used to add, remove, get, list and clear entries stored in credential store.
OPTIONS
add
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, the user is prompted to enter the password.
remove
Remove existing entry from credential store. User must specify the server using the --server option and username using the --username option.
list
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.
clear
Remove all existing entries from credential store.
help
This will display the usage details for the credstore_admin.pl.
Note:
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
EXAMPLES
Add new entry into the credential store:
credstore_admin.pl add --server <server> --username <username> --password <password>
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>]
Delete all entries from credential store:
credstore_admin.pl clear
Display the usage details:
credstore_admin.pl help
SUPPORTED PLATFORMS
转载至https://www.vmware.com/support/developer/viperltoolkit/viperl41/doc/credstore_admin.html