Skip to content

Commit

Permalink
new api key ui
Browse files Browse the repository at this point in the history
  • Loading branch information
ntotten committed Dec 22, 2023
1 parent 042d678 commit 57a4787
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions docs/articles/step-2-add-api-key-auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ If you test your route, you should get a 401 Unauthorized response
"type": "https://httpproblems.com/http-status/401",
```

## 2/ Set up an API key consumer
## 2/ Set up an API Key

In order to call your API, you need to configure an API consumer. Go to
Settings > API Consumers. Click **Add New Consumer**
Expand All @@ -55,24 +55,12 @@ used to authenticate.

![New Consumer](https://cdn.zuplo.com/assets/71bee20e-eac7-4067-b1a3-50bc8267b330.png)

## 3/ Go the the Developer Portal to get your key
## 3/ Copy Your API Key

Find the URL for your Developer Portal - this is available on the Getting
Started page in the Files tab.
After your API Key consumer is created, click the button to copy your new API
Key.

![Developer Portal link](https://cdn.zuplo.com/assets/f5b5f82a-4424-43f4-9b8f-2f4e91c4113e.png)

Navigate to your developer portal - you'll see a **Sign In** button. Click it
and sign in, using the same e-mail you specified as the Key manager.

![Dev Portal](https://cdn.zuplo.com/assets/b59f82d1-4e91-4874-a432-a73796fc1632.png)

You should now see a key, ready to be minted, in the **Authentication** section
of your Developer Portal.

![Authentication section](https://cdn.zuplo.com/assets/7dfa4541-bb4b-4e79-88b2-8cffed6c79d7.png)

Create a key for this consumer identity and copy the key to the clipboard.
![New Key](https://cdn.zuplo.com/assets/aa2561ec-f6b8-4a72-8005-95dfa1ff1970.png)

## 4/ Test out your new key

Expand Down

1 comment on commit 57a4787

@vercel
Copy link

@vercel vercel bot commented on 57a4787 Dec 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs – ./

docs.zuplo.site
docs-git-main.zuplopreview.net
docs.zuplopreview.net

Please sign in to comment.