DOCS: mark username optional as it's not needed when using a token

This commit is contained in:
Anis Jonischkeit
2021-09-17 11:53:10 +10:00
committed by GitHub
parent 75fbb44219
commit c850933d83
+1 -1
View File
@@ -31,7 +31,7 @@ a structure with up to four elements:
- `host`: The host of the Bitbucket instance, e.g. `bitbucket.company.com`.
- `token` (optional): An personal access token as expected by Bitbucket. Either
an access token **or** a username + appPassword may be supplied.
- `username`: The Bitbucket username to use in API requests. If neither a
- `username` (optional): The Bitbucket username to use in API requests. If neither a
username nor token are supplied, anonymous access will be used.
- `appPassword` (optional): The password for the Bitbucket user. Only needed
when using `username` instead of `token`.