Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Roberto Aloi <[email protected]>
  • Loading branch information
2 people authored and Sedthakit Prasanphanich committed Feb 13, 2021
1 parent f9b2e86 commit a1ba1d0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`:

Expand All @@ -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
Expand Down

0 comments on commit a1ba1d0

Please sign in to comment.