OBSERVED (lab test, 2026-11-20 night): design-dxl-apply with signWith id replaced the form Main Topic of the test copy lab/discussion-restyle-test.nsf and signed it. The answer said replaced: true, signed: true and signedBy: Template Development/DominoLab. The identity that OpenCode registered is the signer, not the server. Before that, the dry run with signWith id answered 400 (the signing settings were not there yet) and then 200 once they were in the settings file and the task had restarted.
HOW IT WORKS: the task opens the configured ID for this one signature and closes it again (SECKFMOpen or, from the ID Vault, SECidfGet; then NSFNoteSignExt3). It does not switch the process to that ID: everything else keeps running as the server. The default is still signWith server (the ID of the task). The request only chooses server or id: it never names a file, a user or a password.
SETTINGS: only in the settings file (/etc/nshdomapi/config.json), never in notes.ini: designSignIdFile + designSignIdPassword, or designSignVaultUser + designSignVaultServer + designSignVaultPassword (all of a group or none; the two groups exclude each other). The passwords are never logged or shown; tell nshdomapi config now masks every setting with password or passphrase in its name (a defect found on the way: it had shown tlsKeyPassphrase).
NOT CHANGED: the script block stays. A signature with this ID makes an element as trusted as the ID is, so code (LotusScript, JavaScript) is still never changed through this operation. System databases stay blocked. The test did not change the design: the form text was replaced by itself.
NOT CHECKED YET: (1) that the Notes client accepts the signature without a warning, (2) that no ID handle is left open after many calls, (3) which source (file or vault) the ID came from in this test. Daniel, can you open Main Topic in the test copy and look at the signer?
THANKS to OpenCode for the registration of Template Development/DominoLab. The password of that ID was shown in the registration report: it should be changed once the checks above are done.
NEXT (not built, needs a go): design-sign, to re-sign existing design elements without writing DXL; only elements without script code, up to 20 names, dry run by default.