API トークンの作成
API tokens are access tokens with reduced user access (specified at the time of creation). These tokens can be useful for scripting, CI/CD tools, and testing Bitbucket connected applications while they are in development.
API tokens created to access Bitbucket APIs or perform Git commands must have scopes.
To create an App token:
上部ナビゲーション バーの右上隅にある [設定] 歯車アイコンを選択します。
Under Personal settings, select Atlassian account settings.
Select the Security tab on the top navigation bar.
Select Create and manage API tokens.
Select Create API token with scopes.
Give the API token a name and an expiry date, usually related to the application that will use the token and select Next.
Select Bitbucket as the app and select Next.
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.
Review your token and select the Create token button. The page will display the New API token.
Copy the generated API token and either record or paste it into the application you want to give access.
The token is only displayed once and can't be retrieved later.
この内容はお役に立ちましたか?