# Data Object - VsanIscsiTargetAuthSpec(vim.cluster.VsanIscsiTargetAuthSpec)

Property of
  VsanIscsiTargetCommonInfo, VsanIscsiTargetServiceDefaultConfigSpec
Extends
  DynamicData
Since
  vSphere API 6.5

## Data Object Description

Authentication specification for iSCSI target.

Properties

Name | Type | Description
--- | --- | ---
authType* | xsd:string | Authentication type. See VsanIscsiTargetAuthSpecVsanIscsiTargetAuthType
userNameAttachToInitiator* | xsd:string | CHAP user name attach to initiator, only set when "CHAP mutual"
userNameAttachToTarget* | xsd:string | CHAP user name for target
userSecretAttachToInitiator* | xsd:string | CHAP user secret attach to initiator, only set when "CHAP mutual"
userSecretAttachToTarget* | xsd:string | CHAP user secret attach to this target
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VsanIscsiTargetAuthSpec"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="authType" type="xsd:string" minOccurs="0"/> <element name="userNameAttachToTarget" type="xsd:string" minOccurs="0"/> <element name="userSecretAttachToTarget" type="xsd:string" minOccurs="0"/> <element name="userNameAttachToInitiator" type="xsd:string" minOccurs="0"/> <element name="userSecretAttachToInitiator" type="xsd:string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>