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

API トークンの作成

API トークンは、ユーザー アクセスが制限されたアクセス トークンです (作成時に指定)。これらのトークンは、スクリプト作成、CI/CD ツール、 Bitbucket に接続される開発中のアプリのテストに役立ちます。

Bitbucket API へのアクセスや Git コマンドの実行のために作成される API トークンにはスコープが必要です。API トークンの使用方法

アプリ トークンを作成するには、次の手順に従います。

  1. 上部ナビゲーション バーの右上隅にある [設定] 歯車アイコンを選択します。

  2. [個人設定] で [Atlassian アカウント設定] を選択します。

  3. Atlassian アカウント ページの上部のナビゲーション バーにある [セキュリティ] タブを選択します。

  4. [API トークンの作成と管理] を選択します。

  5. [スコープ付き API トークンを作成] を選択します。

  6. API トークンに名前と有効期限を指定し (通常は、トークンを使用するアプリに関連するものを指定する)、[次へ] を選択します。

  7. アプリとして [Bitbucket] を選択し、[次へ] を選択します。

  8. Select the scopes (permissions) the API token needs and select Next. For detailed descriptions of each permission, see: API Token permissions. Note: This step is required for your API token to access Bitbucket APIs or perform Git commands.

  9. トークンを確認し、[トークンを作成] ボタンを選択します。ページに新しい API トークンが表示されます。

  10. 生成された API トークンをコピーして、記録するか、アクセス権を付与するアプリに貼り付けます。

トークンは一度だけ表示され、後から取得することはできません。

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

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