jfrog-azure-devops-extension icon indicating copy to clipboard operation
jfrog-azure-devops-extension copied to clipboard

Is it possible to authenticate using the API Key?

Open sharpepd opened this issue 4 years ago • 2 comments

I believe the current implementation is not possible, as the CLI requires a different keyword tp specify the apikey.

The GUID only offers the possibility to add a password for authentication.

In my current scenario, my user can only be authenticated by an API Key, so I am not able to use this extension.

sharpepd avatar May 10 '21 15:05 sharpepd

Hi @sharpepd, This is currently not supported as part of the "JFrog Artifactory" service connection configuration. We'll make sure to add this to our features backlog.

eyalbe4 avatar May 10 '21 15:05 eyalbe4

I investigated this issue and eventually it occurred that I can use "JFrog Artifactory" service connection with user name and API key as password with e.g. ArtifactoryUpload task. The only think was that my username written in uppercase didn't work but in lowercase it did (contrary to encrypted password - it doesn't matter if username was in lower- or uppercase letters)

See also documentation https://www.jfrog.com/confluence/display/CLI/CLI+for+JFrog+Artifactory

sylenama avatar Sep 13 '21 12:09 sylenama