atlassian / go-artifactory

Go library for artifactory REST API
Apache License 2.0
23 stars 28 forks source link

Add support for access token authentication #6

Closed Constantin07 closed 5 years ago

Constantin07 commented 5 years ago

At the moment the authentication supports API Key auth using "X-JFrog-Art-Api" header.

It would be nice to add support for access tokens (Authorization: Bearer) as it does support expiration feature.

Reason: Make it available here https://github.com/atlassian/terraform-provider-artifactory/tree/master/docs

References: https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API https://www.jfrog.com/confluence/display/ACC/Access+Tokens

dillon-giacoppo commented 5 years ago

Done in version 2. Already propagated to the terraform provider