Handling Authentication

OVF Tool generates AUTHENTICATION output messages if access to a resource requires a username or password. For example, a proxy server, a vSphere or vCloud locator, or an authenticated URL require usernames and passwords. OVF Tool only generates AUTHENTICATION messages for resources where passwords are not explicitly provided as part of the locator or as command-line arguments.

OVF Tool can authenticate the following types of objects:

  • source locators
  • target locators
  • proxyServer

For source and target locators, you must provide the username on the command-line. If you do not provide a password, OVF Tool generates an AUTHENTICATION message and you must provide the password on STDIN. If the proxy server requires authentication, you must provide both the username and password on STDIN

OVF Tool supports the following commands on STDIN:

For the source password:

PASSWORDSOURCE
password

For the target password:

PASSWORDTARGET
password

For the proxy:

PASSWORDPROXY
username password

For an example of the output of running machineOutput in authentication mode, see Output from Running machineOutput in Import Mode.