Hi, @SDS1
API keys for HubSpot portals have been depreciated and can no longer be created. You’ll need to either create a Private App or create an App and set up OAuth to handle the Authorization.
Can you provide any additional details about your project? This can help the community to understand what you are trying to accomplish.
Best,
Jaycee