Are private repositories safe to store sensitive details?

Hi, sorry for the most likely obvious question but I'm new to Bitbucket and I want to use it for a personal private project. And within the code I have a few sensitive details stored (nothing TOO sensitive, just a login for a forum account etc) which I know is bad practice but it's still in it's early stages.

Anyways I was just wondering if it was safe to keep such details in a private bitbucket account. I presume that it is, seen as it's private and all. But seen as I don't know much about git etc in general I thought I'd ask just to be sure.

Thanks in advance for your reply.

1 answer

1 vote
Jason Worley Atlassian Team Oct 13, 2013

As you have indicated, its not good practice to store account information online. Especially if working in a team (distributed model).

Ideally, repos would only contain source code. However, if you decide to store certain details that others shouldn't see, aside from keeping it private, I would ensure that you are the only person with access. I would also keep the credentials in a safe place and frequently change the password.

In closing, are repos generally safe, absolutely! Do we recommend storing sensitive information, absolutely not! But of course you are free to proceed accordingly, I would just like to recap the above in recommending you establish a strong password and keep that account under lock and key.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,936 views 1 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you