We have a very mixed environment as many enterprises should, our users are in Microsoft AD, our servers are a mix of windows and linux.
As such, we use the sshPublicKey
ldap attribute to store ssh keys for linux authentication and gitlab.
Does TFS allow you to specify this ldap attribute for accessing the TFS Hosted git repo
Running TFS 2015
This is the version of git packaged with TFS, and not any external git repos.
If you are accessing Git in TFS
No, you have to use the TFS provided SSH Key. TFS will create SSH keys for users so that they can access the content.
This is built I to TFS. Users that want to access Git repos in TFS should go to their profile and create one.!
note: If your ldap SSH key is linked to an AD account you can give that AD account permission to TFS.
If you are accessing GitLab from Team Build in TFS
Yes, you can do one of two things:
If you mean something else then please update your question for clarity.