title: Add SSH key to Azure DevOps Server group or project?
body: <p>According to <a href="https://docs.microsoft.com/en-us/azure/devops/repos/git/use-ssh-keys-to-authenticate?view=azure-devops#step-2--add-the-public-key-to-azure-devops-servicestfs" rel="nofollow noreferrer">these instructions</a>, adding an SSH key to Azure DevOps Server ties the key to a specific user account.</p>
  
  <p>Is there a way to associate the key either with a group or with a specific project, and <em>not</em> to a specific user?</p>
  
  <p>We have a build pipeline set up where we use the Bamboo service hook to trigger a Bamboo build when code is merged into specific branches.  The Bamboo server then authenticates with the Azure DevOps Server, pulls the source code, and does it's stuff.</p>
  
  <p>That process is broken right now because the Bamboo server is no longer authenticating with ADOS, and I'm assuming it's most likely because the primary developer for that project has left, and his account is now disabled, and he probably installed the SSH key under his account, so the Bamboo server was essentially authenticating as him.</p>
  
  <p>I could create a new key pair and set everything up so that the Bamboo server would be impersonating <em>me</em>, but that leaves the same problem - what happens if for some reason my account gets disabled and no longer has access to the project?</p>
  
  <p>So we would like to somehow associate the SSH key either with a group that will always have access to the project, or to the project itself.</p>
  
  <p>I found <a href="https://stackoverflow.com/q/52658534/988264">this other question</a> that seems to be asking how to do something very similar (use one SSH key to allow access to multiple people / projects), but it is about Azure DevOps <em>in Azure</em>, so I'm unsure if it applies to ADOS on-prem, and also the screen shot at the end that shows the SSH key installed is still showing under "User Settings", so is it still associated with a specific user?  Or will it show up for all users?</p>