# iscsi.auth.update

Update iSCSI Authorized Access of id.

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: id

#### id

Type: integer

ID of the iSCSI authentication credential to update.

##### Parameter 2: data

#### data

Type: object

Updated iSCSI authentication credential configuration data.

No Additional Properties

##

#### Tag

Type: integer

Numeric tag used to associate this credential with iSCSI targets.

##

#### User

Type: string

Username for iSCSI CHAP authentication.

##

#### Secret

Type: string

Password/secret for iSCSI CHAP authentication.

##

#### Peeruser

Type: string

Username for mutual CHAP authentication or empty string if not configured.

##

#### Peersecret

Type: string

Password/secret for mutual CHAP authentication or empty string if not configured.

##

#### Discovery Auth

Type: enum (of string)

Authentication method for target discovery. If "CHAP_MUTUAL" is selected for target discovery, it is only permitted for a single entry systemwide.

##### Must be one of:

- "NONE"
- "CHAP"
- "CHAP_MUTUAL"

##

#### iSCSITargetAuthCredentialEntry

Type: object

The updated iSCSI authentication credential.

No Additional Properties

##

#### Id

Type: integer

Unique identifier for the iSCSI authentication credential.

##

#### Tag

Type: integer

Numeric tag used to associate this credential with iSCSI targets.

##

#### User

Type: string

Username for iSCSI CHAP authentication.

##

#### Secret

Type: string

Password/secret for iSCSI CHAP authentication.

##

#### Peeruser

Type: string Default: ""

Username for mutual CHAP authentication or empty string if not configured.

##

#### Peersecret

Type: string Default: ""

Password/secret for mutual CHAP authentication or empty string if not configured.

##

#### Discovery Auth

Type: enum (of string) Default: "NONE"

Authentication method for target discovery. If "CHAP_MUTUAL" is selected for target discovery, it is only permitted for a single entry systemwide.

##### Must be one of:

- "NONE"
- "CHAP"
- "CHAP_MUTUAL"

Required roles: SHARING_ISCSI_AUTH_WRITE