# Git Push to BitBucket from CircleCI with User Key

**URL:** <https://discuss.circleci.com/t/git-push-to-bitbucket-from-circleci-with-user-key/13525>\
**Category:** Build Environment\
**Created:** [June 20, 2017, 12:12am UTC](https://discuss.circleci.com/t/git-push-to-bitbucket-from-circleci-with-user-key/13525 "2017-06-20T00:12:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zalyafi](https://avatars.discourse-cdn.com/v4/letter/z/58956e/32.png) [@zalyafi](https://discuss.circleci.com/u/zalyafi)\
**Post date:** [June 20, 2017, 12:12am UTC](https://discuss.circleci.com/t/git-push-to-bitbucket-from-circleci-with-user-key/13525/1 "2017-06-20T00:12:17Z")

</div>

I am trying to do a `git push` from CircleCI to BitBucket. I have added the user key manually from CircleCI to a ‘machine user’ BitBucket account following this [workaround](https://discuss.circleci.com/t/checkout-fails-with-user-key-bitbucket/8735/7). However my project is managed by a team that I am a part of and so this `git push` fails because the ssh key has not been added to the actual team but to one user that has all the necessary permissions to write to repositories in BitBucket.

Is there any way to do a push to BitBucket from CircleCI without granting CircleCI the full access that the team has? I want CircleCI to be able to push and write only to repositories that I want it to, and not to all the repositories under the team.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![musikele](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/musikele/32/8869_2.png) [@musikele](https://discuss.circleci.com/u/musikele)\
**Post date:** [October 13, 2017, 7:24am UTC](https://discuss.circleci.com/t/git-push-to-bitbucket-from-circleci-with-user-key/13525/2 "2017-10-13T07:24:00Z")

</div>

Hi, did you accomplish this task?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [June 18, 2018, 11:39am UTC](https://discuss.circleci.com/t/git-push-to-bitbucket-from-circleci-with-user-key/13525/3 "2018-06-18T11:39:36Z")

</div>


