Skip to content

Commit

Permalink
Merge pull request #269 from zhan9san/feature/remove-basic-auth-token
Browse files Browse the repository at this point in the history
Remove basic authenticaion of token
  • Loading branch information
allburov authored Aug 19, 2021
2 parents 9160c6c + fe1cf4b commit cd67205
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ pip install dohq-artifactory==0.5.dev243

`dohq-artifactory` supports these ways of authentication:

- Username and password (or [API KEY](https://www.jfrog.com/confluence/display/RTF/Updating+Your+Profile#UpdatingYourProfile-APIKey), or [Access Tokens](https://www.jfrog.com/confluence/display/JFROG/Access+Tokens#AccessTokens-UsingTokens)) to access restricted resources, you can pass ```auth``` parameter to ArtifactoryPath.
- Username and password (or [API KEY](https://www.jfrog.com/confluence/display/RTF/Updating+Your+Profile#UpdatingYourProfile-APIKey)) to access restricted resources, you can pass ```auth``` parameter to ArtifactoryPath.
- [API KEY](https://www.jfrog.com/confluence/display/RTF/Updating+Your+Profile#UpdatingYourProfile-APIKey) can pass with `apikey` parameter.
- [Access Token](https://www.jfrog.com/confluence/display/JFROG/Access+Tokens#AccessTokens-UsingTokens) can pass with `token` parameter.

Expand All @@ -97,7 +97,7 @@ path = ArtifactoryPath(
# User and password OR API_KEY
path = ArtifactoryPath(
"http://my-artifactory/artifactory/myrepo/restricted-path",
auth=("USERNAME", "PASSWORD, API_KEY or ACCESS_TOKEN"),
auth=("USERNAME", "PASSWORD or API_KEY"),
)

# Other authentication types
Expand Down

0 comments on commit cd67205

Please sign in to comment.