You need credentials (username and password, app token, etc.) to connect to different git and Subversion (SVN) servers. These credentials must be stored encrypted. Git Connector uses the Windows Data Protection API (DPAPI) to encrypt or decrypt credentials. DPAPI derives a symmetric key from the user's login secrets, and uses this key to encrypt the protected secret keys. This means that the Windows process that sets and encrypts these secrets (that is, content connector client) needs to run under the same user as the process that decrypts and uses the secrets (the content connector Service).
Needs expertise: Only try this procedure if you have experience in creating Windows users and managing their access permissions.
Necessary steps
Do this with a user account that has Administrator rights on the computer.
The service user needs to have certain permissions: for the File system connector, it needs file system access permission to access the folders. For the SVN connector or the Git connector, it needs network access permission to access the network. The service user needs to be either a local user on the machine running the memoQ TMS – or, if the machine is part of a Windows domain, a domain user.
Normally, the memoQ content connector service runs as a local service account. Local service accounts cannot log in interactively to the machine, so they cannot run content connector client.
This means you need to set up the memoQ content connector service to run under the service user account you created. To do this:
- Run Windows's Services app.
- Right-click memoQ content connector service in the list, and click Stop in the context menu.
- Right-click memoQ content connector service again, and click Properties in the context menu.
- On the Log on tab, under Log on as, choose the This account option.
- Enter the service user's username and password as shown below.
- Right-click memoQ content connector service again, and click Start in the context menu.
The content connector client application needs to run with the same user running the service (see above). To do this:
- Open the Windows Start menu.
- Click the memoQ content connector folder, and right-click the memoQ content connector client icon.
- Click the More sub-menu, then click Run as a different user.
- Enter the same service user's username and password as above.
- In the content connector client, set up git connections as needed.