Skip to content

Commit

Permalink
Metadata Repositories: Support Bearer Token Authentication Docs
Browse files Browse the repository at this point in the history
Signed-off-by: Valentijn Scholten <[email protected]>
  • Loading branch information
valentijnscholten committed Jan 3, 2025
1 parent c9af4e1 commit 7de8f33
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/_docs/datasources/repositories.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,11 @@ for information on Package URL and the various ways it is used throughout Depend

### Authentication

For each repository a Username and Password can be specified to perform Basic Authentication.
To use Bearer Token authentication, leave the Username field empty and fill out the Token in the Password field.

#### GitHub

For GitHub repositories (`github.com` per default), the username should be the GitHub account's username,
and the password should be a [personal access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)
(PAT) with public access (no additional scopes).
(PAT) with public access (no additional scopes).

0 comments on commit 7de8f33

Please sign in to comment.