1. Bitbucket
  2. Public Issue Tracker
  3. master
  4. Issues

Issues

Issue #4156 duplicate

Allow to somehow limit access of particular keys to some repositories (BB-4457)

Jacek Bzdak
created an issue

Basically I use git and bitbucket not only as a git repository but as as convenient means of deployment, not only deploying my apps on various servers but also deploying examples to presentation machines that I use for lecturing, so some of my production machines have my private key. Which is bad --- because I don;t want to give someone who steals this key address to all my repositories (some of which hold sort of confidential code).

I guess ideal would be to just allow .ssh keys to be limited to particular repositories. For now I circumvent this issue by creating artificial users and sharing these private repos with them (which is OK since as an educational user I have unlimited repo plan) but this approach is kind of problematic since I have to obtain unique email address for each of these users. And it just doesn't feel right to create multiple accounts.

So any means of resolving this problem would be OK.

Comments (3)

  1. Jacek Bzdak reporter

    Solving #3106 would solve part of my problem --- since some of these repos are read only, but for example when I'll find a bug in code I'm presenting during a lecture --- I correct this bug and I would like to fix it.

    If you extend these deployment keys concept to enable write keys attached to repository all my problems would be solved.

  2. Log in to comment