CLI – Setting the VASA credentials

The VASA credentials comprise a user name and a password that VMware vCenter servers can use to connect to the IBM Spectrum Connect and employ VMware vSphere APIs for Storage Awareness (VASA) functions.

Use the sc_vasa_admin CLI command to set or display the VASA credentials. vCenter servers can then use these credentials to connect to Spectrum Connect and utilize VASA functions, as explained in Registering Spectrum Connect as a storage provider on vCenter server. Use the required argument after the command, as specified in the following table.
Note:
  • Only one set of a username and a password can be used for the VASA credentials, which applies to all vCenter servers that require VASA functions.
  • All CLI command arguments are case-sensitive.
  • The same operations are available from the GUI as well, as explained in Setting the VASA credentials.
Table 1. Arguments for sc_vasa_admin
Argument Use after sc_vasa_admin to:
set_secret -n <username> -p <password>

or

set_secret --user_name <username> --user_password <password>

Set the username and password that the VASA credentials should comprise.
For example:
sc_vasa_admin set_secret -n johnvasa -p ********
The secret key for the VASA Provider has been set
successfully.
list_secret Display the username of the currently defined VASA credentials.
For example:
sc_vasa_admin list_secret
Secret key username for the VASA Provider:
johnvasa
-h

or --help

Display help information that is relevant to sc_vasa_admin.

You can also display help for the set_secret argument if it is typed on the command line as well.