---
name: "iscsi_node_dump_config"
section: "3"
platform: "linux"
package: "open-iscsi"
version: "2.1.13-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/iscsi_node_dump_config"
---

# iscsi\_node\_dump\_config(3)

Dump all configurations of specified iSCSI node.

## NAME

iscsi\_node\_dump\_config - Dump all configurations of specified iSCSI node.

## SYNOPSIS

**const char \* iscsi\_node\_dump\_config** **(struct iscsi\_node \****node***,** **bool** *show\_secret***);**

## ARGUMENTS

- node

  Pointer of 'struct iscsi\_node'. If this pointer is NULL, your program will be terminated by assert.

- show\_secret

  Whether show CHAP secret. If set as false, will show password as "\*\*\*\*\*\*\*\*"

## DESCRIPTION

Dump all configurations of specified iSCSI node. Will skip empty configuration.

## RETURN

const char \*. Need to free this memory by **free**.
