# ApiGenerateHostCertsArguments Data Model

Arguments to install certificates on a host

Properties
name | data type | description
--- | --- | ---
subjectAltName | array of string |

##### Properties inherited from BaseApiSshCmdArguments

sshPort | number | SSH port. If unset, defaults to 22.
userName | string | The username used to authenticate with the hosts. Root access to your hosts is required to install Cloudera packages. The installer will connect to your hosts via SSH and log in either directly as root or as another user with password-less sudo privileges to become root.
password | string | The password used to authenticate with the hosts. Specify either this or a private key. For password-less login, use an empty string as password.

privateKey

string

The private key to authenticate with the hosts. Specify either this or a password.
The private key, if specified, needs to be a standard PEM-encoded key as a single string, with all line breaks replaced with the line-feed control character '\n'.
A value will typically look like the following string:
-----BEGIN RSA PRIVATE KEY-----\n[base-64 encoded key]\n-----END RSA PRIVATE KEY-----

passphrase | string | The passphrase associated with the private key used to authenticate with the hosts (optional).

Example

    {
      "subjectAltName" : [ "...", "..." ],
      "sshPort" : 22,
      "userName" : "...",
      "password" : "...",
      "privateKey" : "...",
      "passphrase" : "..."
    }