Not horribly, we need to listen for org.freedesktop.Secret.Prompt.Completed signals from dbus, and possibly act on the result. But not sure how or if it will work if you run dbus+sercrets outside of a graphical user env, which is possible.