atlassian / go-artifactory

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

Support for TLS authentication #25

Closed skolyszewski closed 4 years ago

skolyszewski commented 4 years ago

Often times, corporate environments rely on PKI for authentication. It would be nice if this module also supported client-side TLS - using client keypair and custom CA certificates.

This should be straightforward with how nice the library is structured -- just another transport implementation.

skolyszewski commented 4 years ago

Nevermind, I reviewed what's in transport and that a caller can just use TLS in the http.Client that's actually passed to artifactory.Client. Still new to golang :)