Managing HTTP access tokens

Bitbucket Data Center と Server の管理

このページの内容

お困りですか?

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

コミュニティに質問

Project and repository administrators can create HTTP access tokens for their projects and repositories. Users can create personal HTTP access tokens and use them in place of passwords for Git over HTTPS, or to authenticate when using the Bitbucket Data Center and Server REST API. As an administrator, you can edit and revoke tokens, and set global token settings.


Editing and revoking tokens

As an administrator, you can’t create tokens for users. However, once a user has created a token, you can edit or revoke it.

To edit or revoke a personal HTTP token:

  1. Go to  > Users.

  2. Search for the user and click on them.

  3. Open the HTTP access tokens tab.

  4. Select Edit or Revoke.

To edit or revoke a project or repository's HTTP token:

  1. From either the Project or Repository settings, select HTTP access tokens.
  2. Select Edit or Revoke.

Selecting Edit will allow you to change a token’s name or its permissions. If it has an expiry date, however, you will not be able to modify it. Once a token’s expiry date has been set, it can’t be changed.

Require token expiry

By default, when a user is creating a personal access token, they can choose whether they want it to expire. As a system administrator, for added security you can make setting a token expiry a requirement.

To require token expiry:

  1. Go to  > HTTP access tokens (under System).

  2. Select Yes for Expiry required.

  3. Enter the Max days until expiry.

  4. 保存 を選択します。

最終更新日 2022 年 6 月 29 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.