Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Xpack Security for Bitbucket Data Center


As per atlassian documentation, when elastic search is set up for code search in bitbucket data centre, it is recommended that xpack security be disabled.

However, we would like to know if there is any alternate solution for this? How are the other customers securing elastic search and making it work with bitbucket data centre i.e by not using the xpack security?



1 comment

Hi! How are you doing?

Atlassian provides a free plugin called Buckler for this purpose.

You have got to pay attention that it requires Elastic 6.6.1 (we have tried to install it on 6.6.2 and it did not work).

Hope this helps!

Like Ramprasad Baliga likes this

Hi Cristiano!

Thanks for the reply! However the password in buckler.yml is not encrypted and becomes a security concern. I see there is a feature request to implement this -

One of the reasons why we would like to use xpack security.



Like Cristiano Mariano likes this

Hi @Ramprasad Baliga ! How are you doing?

According to Bitbucket documentation, you could use other plugins, like Shield (according to Elastic documentation, Shield is now part of X-Pack).

Bitbucket Server also supports authentication to Elasticsearch through other plugins that provide basic authentication, like Elastic's Shield plugin.

Hope this helps!


Log in or Sign up to comment
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

4,442 views 12 15
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you