OptionalagentOptions for the per-request http.Agent/https.Agent, e.g. ca for an
internal certificate authority, rejectUnauthorized, localAddress, or
lookup. keepAlive and maxSockets are fixed by the NTLM handshake and
cannot be overridden.
OptionaldomainNTLM (NetBIOS) domain of the account, e.g. 'CONTOSO' — not a DNS name.
Leave empty if the account is local to the server.
OptionalhostnameWorkstation name sent in the NTLM handshake. Rarely needs changing.
Password for username. Prefer reading this from the environment rather than hard-coding it.
OptionalprotocolURL scheme.
OptionalretryRetry transient failures on read actions (get*, check*,
iterate*). Off unless set; {} enables the defaults. Write actions are
never retried.
Server-relative URL of the site (web), starting with / and without a
trailing slash (e.g. '/sites/finance'). All folder arguments are
resolved relative to this path.
SharePoint host name, without protocol or path (e.g. 'sharepoint.contoso.local').
Windows account name used for NTLM authentication, without the domain (e.g. 'jsmith').
Connection and credential settings for an on-premises SharePoint site (2013, 2016, 2019 or Subscription Edition). SharePoint Online is not supported: it does not accept NTLM authentication.