What's this <USERNAME>:<API_KEY>?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

What's this <USERNAME>:<API_KEY>?

hujirong
Hi All

I am looking at Artifactory and npm: https://www.jfrog.com/confluence/display/RTF/Npm+Repositories. Completely new to npm and nuget, what's this <USERNAME>:<API_KEY>?

curl -i -u<USERNAME>:<API_KEY> "http://localhost:8081/artifactory/api/npm/npm-local/auth/<SCOPE>"
Reply | Threaded
Open this post in threaded view
|

Re: [#32274] What's this <USERNAME>:<API_KEY>?

JFrog Support
Dear User,

The <USERNAME> represents your username when you sign in to Artifactory. <API_KEY> can be substitutet with the password that you use when you login to Artifactory account. However, we strongly recommend to use API_KEY itself for security reasons. This API_KEY can be retrieved once you login to your Artifactory account. On the top right corner click on your Username, and it will open “User Profile page”(see screenshot). Enter your current password into the “Current Password”  window, and click on “Unlock” button. This will generate API_KEY



For example: Your username is “myaccount” , and your password is “123456”

Possible way:                 curl -i -umyaccount:123456

Recommended way:      curl -i -umyaccount:AP8gwbrRjQYJjRrjUWv3Xe47d16


Let us know if this answers your question.

Regards,

Tim

JFrog Support

On Mon, 5 Oct at 9:18 PM , artifactory-users <[hidden email]> wrote:
Hi All

I am looking at Artifactory and npm:
https://www.jfrog.com/confluence/display/RTF/Npm+Repositories. Completely
new to npm and nuget, what's this <USERNAME>:<API_KEY>?

curl -i -u<USERNAME>:<API_KEY>
"http://localhost:8081/artifactory/api/npm/npm-local/auth/<SCOPE>"



--
View this message in context: http://forums.jfrog.org/What-s-this-USERNAME-API-KEY-tp7580500.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
32274

------------------------------------------------------------------------------

_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users