API keys#

API key authentication is intended for use by Red Hat partners interacting with the Red Hat Connect for Technology Partners portal, who’d like to get direct API access on the public Pyxis endpoints to manage their content.

In order to obtain an API key, the user needs to log into the Red Hat Connect portal, then navigate to “Product Certification → Container API keys” section to generate an API key for their user. This API key will only grant access to the user’s organization’s content.

The user needs to set the api key into the request header as a value of an “X-API-KEY”.

The keys will need to be included in the request as shown below:

curl -X GET \
"https://catalog.redhat.com/api/containers/v1/projects/certification/pid/ospid-00000000-0000-0000-0000-00000000" \
-H "X-API-KEY: [api key]"