SettingsDepotsOfflineHostCredentials

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


Properties

string
host_name Required

The IP address or DNS resolvable name of the host.


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 throws UnverifiedPeer with the expected thumbprint as data.


string
user_name Required

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

JSON Example

{
    "host_name": "string",
    "password": "string",
    "user_name": "string"
}
Feedback

Was this page helpful?