The command set-accessprotection-password is used for setting password(s) for the configured access protection level on the PLC (AccessProtection parameter).
This password is used for authorization purposes when performing an online operation with the PLC (such as during downloading to the PLC).
In the example below the password FullAccessPassword123++ is defined for FullAccess protection level.
apax hwc set-accessprotection-password --module-name "PLC_1" --input "Sample.hwl.yaml" --level "FullAccess" --password ""
For details, refer to PLC Access Protection.