Access tokens for a repository

Access tokens for a repository are per-repository passwords for scripting tasks and integrating tools (such as CI/CD tools) with Bitbucket Cloud. Access tokens for a repository are designed for use with a single application with limited permissions, so they don't require two-step verification (2SV, also known as two-factor authentication or 2FA). Access tokens for a repository are tied to a repository, not a user’s account. This restricts the token’s access to a single repository, providing a more secure solution than user-based authentication methods such as App passwords.

Repository-level access token features

Access tokens for a repository have the following features:

  • API 呼び出しの認証に使用できます。

  • アクセス トークンの作成時に指定された、制限された権限 (スコープ) が保持されます。

  • 再利用できず、単一の目的のために使用されます。

  • アプリ パスワードはデータベース上で暗号化されており、いずれのユーザーも表示できません。

  • They can have an expiry date.

Repository-level access token limitations

Access tokens for a repository have the following limitations:

  • 作成後は表示も編集もできません。復旧や変更ではなく、新しいアクセス トークンで置き換えることを意図しています。

  • bitbucket.org で Bitbucket アカウントにログインするためには使用できません。

  • They will stop working when they are revoked.

  • ワークスペース、プロジェクト、その他のリポジトリの管理や操作には使用できません。

さらにヘルプが必要ですか?

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