Bitbucket is getting a new navigation

We’re rolling out these changes, so the documentation may not match your experience in the Bitbucket Cloud app. Read about the new Bitbucket navigation

リポジトリ用のアクセス トークンを作成する

Access tokens for a repository are single-purpose access tokens (or passwords) with access to a single repository with limited permissions (specified at creation time). Use tokens for tasks such as scripting, CI/CD tools, and testing Bitbucket integrations or Marketplace apps while in development.

アクセス トークンの有効期限

ワークスペース管理者がアクセス トークンの有効期限を特定の日付範囲内にすることを要求している場合、有効期限のないアクセス トークンを作成することはできず、ワークスペース管理者が設定した日付範囲内で有効期限を設定する必要があります。

リポジトリ用のアクセス トークンを作成するには、次の手順に従います。

  1. At bitbucket.org, navigate to the target repository for the access token. This repository is the only one that the access token can access.

  2. サイドバーで、[リポジトリの設定] を選択します。

  3. サイドバーで、[セキュリティ] の下で、[アクセス トークン] を選択します。

  4. [ アクセス トークンを作成] を選択します。

  5. アクセス トークンに名前を付けます。通常、そのトークンを使用するアプリやタスクに関連する名前を付けます。

  6. [有効期限] で日付ピッカーを選択し、アクセス トークンの有効期限が切れる特定の日付を選択または入力します。有効期限は、ワークスペース管理者が設定した日付範囲内である必要があります。注: ワークスペース管理者がトークンに有効期限を設定する必要がない場合、[有効期限なし] オプションを使用できます。[有効期限なし] ラジオ ボタンを選択して有効期限のないトークンを作成するか、[有効期限] ラジオ ボタンを選択してトークンの有効期限を設定できます。

  7. Select the permissions the access token needs. For detailed descriptions of each permission, see Repository-level access token permissions.

  8. [作成] ボタンを選択します。ページに [アクセス トークンを作成しました] ダイアログが表示されます。

  9. 生成されたトークンをコピーして記録するか、アクセス権が必要なアプリに貼り付けます。トークンは一度だけ表示され、後から取得することはできません。リポジトリのアクセス トークンは、復元または再利用するのではなく、新しいトークンを作成すると、古いトークンは取り消されたとみなされます。

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

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