We have two options to get the gateway.conf:
gwcli
gwcli export mode=copy
or
rados
rados -p iscsi get gateway.conf /root/gateway.conf
At the moment there is no way to update or write the gateway.conf via gwcli command. So the only option is to use the rados command line tool.
note
Be careful when editing the content manually, it requires care and expertise.