アクセス トークン

アクセス トークンは、リポジトリ、プロジェクト、またはワークスペースにリンクされており、タスクのスクリプト化や、ツール (CI /CD ツールなど) と Bitbucket Cloud の統合に使用できます。アクセス トークンは、制限された権限を持つ単一のアプリで使用するために設計されているので、2 段階認証 (2SV、2 要素認証または 2FA とも呼ばれる) は不要です。

アクセス トークンは (ユーザーではなく) リポジトリ、プロジェクト、またはワークスペースに紐付けられており、共有できません。アクセス トークンを共有すると、そのトークンが Bitbucket API を使用して実行する権限を持つあらゆる操作に対して、認証済みの直接アクセス権を提供することになります (作成対象のリポジトリ、プロジェクト、ワークスペースに限る)。

アクセス トークンの機能

アクセス トークンは次の機能を備えています。

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

  • 作成対象のリポジトリ、プロジェクト、またはワークスペースに制限されたアクセスを提供します。

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

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

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

  • They can have an expiry date.

アクセス トークンの制限

アクセス トークンには次の制限があります。

  • 作成対象のリポジトリ、プロジェクト、またはワークスペース以外にはアクセスできません。

  • ワークスペース アクションの管理には使用できません。

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

  • 取り消された場合に機能が停止します。

  • http://bitbucket.org で Bitbucket にログインするためには使用できません。

Workspace, project, and repository access tokens

Access tokens can be created and used within a workspace, project, or repository in Bitbucket Cloud.

Premium plan customers

Workspace and project access tokens are only available to customers with a Premium Bitbucket Cloud account. For information on our Premium plan or upgrading your account, check out our plans and pricing page.

  • Access tokens for repositories — Provides access to a single repository with the permissions specified at the time of creation. An access token for a repository can be used for tasks such as managing a single repository or allowing a CI/CD tool to access the source code of a single repository in the workspace. For more information, including creation and usage, see Access tokens for a repository.

  • Access tokens for a project (Premium feature) — Provides access to a single project and the repositories in it. The access permissions (or scopes) are specified at the time of creation. Access tokens for a project can be used for tasks such as managing or accessing the repositories in a single project. For more information, including creation and usage, see Access tokens for a project.

  • Access tokens for a workspace (Premium feature) — Provides access to a single workspace and the repositories and projects in it. The access permissions (or scopes) are specified at the time of creation. Access tokens for a workspace can be used for tasks such as managing or accessing the repositories in a single workspace or managing the workspace. For information, including creation and usage, see Access tokens for a workspace.

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

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