From a1ba1d040eae8cb5e5b0be428cc66270255532e5 Mon Sep 17 00:00:00 2001 From: Wingless-Archangel Date: Sat, 13 Feb 2021 16:21:05 +0100 Subject: [PATCH] Update README.md Co-authored-by: Roberto Aloi --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0631d43..9966b69 100644 --- a/README.md +++ b/README.md @@ -76,8 +76,8 @@ docker run --rm --name erlangbuilder -v ${PWD}:/bec -w=/bec erlang rebar3 escr ## Sample BitBucket Configuration -BEC We support both credential and token authentication. -However, token authentication will be used instead of credential when both present. +BEC supports both Basic Authentication (via username/password) and Token-Based Authentication (preferred). +If both a `token` and a `username/password` pair are provided, the token will take precedence. Set BitBucket url and credentials in `bitbucket.config`: @@ -88,6 +88,8 @@ Set BitBucket url and credentials in `bitbucket.config`: {bitbucket_token, "someToken"}. ``` +Please follow [this](https://confluence.atlassian.com/bitbucketserver072/personal-access-tokens-1005335924.html#Personalaccesstokens-Generatingpersonalaccesstokens) guide if you want to generate the token to authenticate. + ## Sample Repo Configuration You can find a sample configuration file for a custom BitBucket repo