Skip to content

How To Create An API Key#


An API key allows a user or a program to make API calls without having to authenticate with a username and password. To access an endpoint using an API key, a client should send the access token using the ApiKey authentication scheme.

The API Key can now be used when connecting to your Hopsworks instance using the hopsworks, hsfs or hsml python library or set in the ApiKey header for the REST API.

GET /resource HTTP/1.1
Authorization: ApiKey <api_key>


In this guide, you will learn how to create an API key.

Step 1: Navigate to API Keys#

In the Account Settings page you can find the API section showing a list of all API keys.

API Keys
List of API Keys

Step 2: Create an API Key#

Click New Api key, select the required scopes and create it by clicking Create Api Key.

Create API Key
Create new API Key


In this guide you learned how to create an API Key.