Settings_Depots_Offline_HostCredentials

Settings_Depots_Offline_HostCredentials
Settings_Depots_Offline_HostCredentials

The Offline.HostCredentials structure contains fields that describe the host's username, password, port number, ssl thumbprint or ssl certificate to be used when connecting to the host using USERNAME_PASSWORD option in the ConnectionSpec#AuthenticationType enumerated type.

JSON Example
{
    "host_name": "string",
    "user_name": "string",
    "password": "string",
    "port": 0,
    "ssl_thumb_print": "string"
}
string
host_name
Required

The IP address or DNS resolvable name of the host.

string
user_name
Required

Specifies the username to be used during the Offline.create-from-host operation.

string As password
password
Required

Specifies the password to be used during the Offline.create-from-host operation.

integer As int64
port
Optional

Specifies the port number of the host to be used during Offline.create-from-host operation. If unset, port number is set to 443.

string
ssl_thumb_print
Optional

Specifies the sslThumbPrint of the host to be used during Offline.create-from-host operation SHA1 hash of the host's SSL certificate. If unset, Offline.create-from-host operation this operation will throw UnverifiedPeer with the host provided thumbprint as data.