Description
...
For more information, see Authentication options.
Permission Table
See the Atlassian documentation for the current information. Here is a snapshot of that with some additional information including the valid values for the permission parameter on addAccessToken.
Project read - PROJECT_READ | Project write - PROJECT_WRITE | Project admin - PROJECT_ADMIN | |
---|---|---|---|
Repository read REPO_READ | Pull and clone repositories | ||
Repository write REPO_WRITE | Perform pull request actions Push, pull, and clone repositories | Perform pull request actions Push, pull, and clone repositories | |
Repository admin REPO_ADMIN | Perform pull request actions Update repository settings and permissions Push, pull, and clone repositories | Perform pull request actions Update repository settings and permissions Push, pull, and clone repositories | Perform pull request actions Update repository settings and permissions Update project settings and permissions Push, pull, clone, and fork repositories Create repositories |
Examples
Code Block |
---|
--action addAccessToken --name "project-admin" --permission "PROJECT_ADMIN, REPO_ADMIN" |
Other Information
- BSERV-10482 - Create admin personal tokens for admin endpoints in Bitbucket Server REST API
Cloud App Passwords
App passwords are substitute passwords for a user account which you can use for scripts and integrating tools to avoid putting your real password into configuration files.
For more information, see: App Passwords.
Warning | ||
---|---|---|
| ||
Make sure you use your Bitbucket account name and NOT your email address when using App passwords! |
- Login → View profile → Settings → App passwords
...