API トークンの作成

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

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

To create an API token:

  1. Select your profile in the upper-right corner of the top navigation bar.

  2. Under Account settings.

  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 トークンをコピーして、記録するか、アクセス権を付与するアプリに貼り付けます。

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

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

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