Order of Precedence for
vCLI Host Management CommandsLast Updated December 19, 2024
When you run a
vCLI host management command, authentication happens in order of precedence.
The order of precedence is
described in the following table. This order of precedence always applies. That
means, for example, that you cannot override an environment variable setting in
a configuration file.
Available options and
order of precedence are different for DCLI. See
Order of Precedence for DCLI Authentication.
If you are authenticating
through vCenter Single Sign-On, the order of precedence is preserved. For
example, information you specify on the command line overrides information in
an environment variable.
Authentication | Description | See |
---|---|---|
Command line | Password
( --password ), session file (--sessionfile ),
or configuration file (--config ) specified on the command
line. | |
Environment variable
| Password specified in an environment
variable. | |
Configuration file | Password
specified in a configuration file. | |
Current account (Active
Directory) | Current account information used to establish
an SSPI connection. Available only on Windows. | |
Credential store | Password
retrieved from the credential store. | vSphere Web Services SDK Programming
Guide and
vSphere SDK for Perl
Programming Guide |
Prompt the user for a
password | Password is not echoed to
screen. |