Skip to content

Bitbucket 凭证#

¥Bitbucket credentials

你可以使用以下凭据验证以下节点:

¥You can use these credentials to authenticate the following nodes:

¥Bitbucket Trigger

先决条件#

¥Prerequisites

创建 Bitbucket 账户。

¥Create a Bitbucket account.

支持的身份验证方法#

¥Supported authentication methods

  • 访问令牌

¥Access token

相关资源#

¥Related resources

有关服务的更多信息,请参阅 Bitbucket API 文档

¥Refer to Bitbucket's API documentation for more information about the service.

配置 Bitbucket 访问令牌#

¥Configuring Bitbucket access token

  1. 登录 Bitbucket 并打开你的账户或个人设置。

¥Log in to Bitbucket and open your account or personal settings.

  1. 找到 API 令牌或安全设置部分。

¥Find the section for API tokens or security settings.

  1. 创建一个新的 API 令牌,并为其指定一个符合你用例的名称和过期日期。

¥Create a new API token, giving it a name and expiry date that matches your use case.

  1. 选择“Bitbucket”作为应用,然后选择所需的范围(权限):

¥Select Bitbucket as the app, then choose the required scopes (permissions):

1
2
3
4
5
6
read:user:bitbucket
read:workspace:bitbucket
read:repository:bitbucket
read:webhook:bitbucket
write:webhook:bitbucket
delete:webhook:bitbucket
  1. 检查并创建令牌。复制生成的令牌并将其添加到 n8n。Bitbucket 只显示一次令牌。

¥Review and create the token. Copy the generated token and add it to n8n. Bitbucket only shows the token once.

有关详细说明,请参阅 创建 API 令牌

¥For detailed instructions, see Create an API token.