I did something similar but on Linux.
We built an automation using Go to act as a server which accepts the files to be signed, sign them and provide the PIN and return the signed files.
Works great and can be accessed by users with permission and doesn’t require a monthly fee aside from the yearly ...