API Keys - ambitus/artifactory-vault GitHub Wiki
How to Generate API Keys for Authentication and Authorization With Artifactory
⚠️ This guide is applicable for Artifactory OSS version 6.x.
The two methods for authenticating with Artifactory are Username/Password authentication, and API Key authentication. The following are the main reasons why one may want to use API Key authentication over Username/Password authentication:
- Increased security
- The Artifactory Helpers Groovy scripts require API Key authentication.
Generate an API Key for Artifactory on zCX
- Login to the Artifactory UI of your Artifactory server running on zCX using the credentials of the user that you want an API Key for.
http://<host/ip of your artifactory server>/artifactory/webapp/#/home
- Navigate to the profile page. (Click your username in the top right-hand corner.)
- Enter your password in the Current Password field and click the big green button labeled Unlock to unlock your profile settings.
- Under the Authentication Settings section, click the Gear Icon next to the API Key field to generate your API Key.
- Artifactory should have generated an API Key for you. Now you can copy that API Key from the API Key field and use it to Authenticate with Artifactory.