Secure Bitbucket configuration properties

Bitbucket Data Center と Server の管理

このページの内容

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

To add extra security to your Bitbucket Data Center and Server instance, you can encrypt the database password that is stored in the bitbucket.properties file. There are different encryption methods for both basic and advanced users. Additionally, you can create your own encryption mechanism.

The solutions outlined below provide a level of protection for encrypting database values, but do not offer complete security.

The configuration files will still contain the necessary data to decrypt the values, which means that an attacker with access to these files could potentially decrypt the property values.

これらのアプローチは、機密データの偶発的な漏洩に対する保護を強化することを目的としていますが、包括的なセキュリティ ソリューションとして使用することは推奨されていません。

We recommend that you secure the server where Bitbucket and the database reside.

ベース64エンコード

We don't recommend Base64 encoding in production for securing secrets because it doesn't provide encryption, and therefore can't guarantee sufficient data protection.

Learn more about Base64 encoding

AES 暗号化

This method allows you to choose an algorithm to encrypt a database password. It provides more security as you don't have to store the encrypted password anywhere in the configuration file, which makes it difficult for unauthorized parties to find and decrypt it. 

AES 暗号化の詳細

カスタム暗号化

If you have special requirements for database password encryption, you can create your own encryption mechanism based on our examples.

Learn more about custom encryption

最終更新日 2024 年 7 月 15 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.