How to provide secrets pin via cli

How can I obtain a locked password from an NK3 entirely via a script, i.e. do

/home/user/.local/bin/nitropy nk3 secrets get-password --password test

which works nicely with unprotected passwords, with protected passwords? If I add something like

& sleep 3 && echo "mysecretspin"

to the first command then nitropy complains that it doesn’t want the pin echoed…is there a way to have it accept an echoed pin or to otherwise pass the pin via a script?

Found the way: export NITROPY_SECRETS_PASSWORD=mypassword and then call nitropy nk3 secrets ...

There’s a bug, however: the response will consist of Credential not found. Please provide PIN below to search in the PIN-protected database. before echoing back the password.