You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I do:
curl -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
-T text_example.txt
"https:/my-artifactory.mydomain.com/artifactory/path/to/your/text_example.txt"
It correctly used my access token:
Using the new way of authentication, leads to my username in the "Deployed by" field as opposed to the token name.
return Artifactory(
self.url,
access_token=token,
verify=self.verify,
cert=self.cert,
)
However, interestingly using the old way with the token, and using the token username, it works as expected. You can get the token username by decoding your JWT and looking for the section that comes after /users/