Artifactory allows authentication for REST API calls using your API key as an alternative to your username and password in two ways: either by using the X-JFrog-Art-API header with which you can specify an API key, or through basic authentication using your username and API key (instead of your password).
Creating an API Key
To use your API key for authentication, it must be generated using Artifactory 4.4.3 or later. If generated prior to 4.4.3, you must regenerate your API key and use the new key as a password for basic authentication.
To create an API Key, once you have unlocked your profile, click the Generate button next to the API Key field.