Create API Key
Contents:
Create API Key
- Go to API Keys in the left-hand menu of the API Gateway console.
- Click Create API Key

- In the Create API Key interface, enter a name for the API Key in the Name field.
- Select Auto-generate
- Click Save

- Create two additional API Keys for User and Premium user:
normalUserKey
, premiumUser
Assign API Key to Usage Plan
- Open a usage plan, then select Associated API Keys
- Click Add API Key

- In the Add API Key interface, select Add existing key and choose the API Keys corresponding to your usage plan.

- Repeat the same steps for the remaining usage plans.
Add API Key to Method
- Open the Method request tab of the GET method in the Resources menu.
- Click Edit

- In the Edit method request interface, enable API Key required
- Click Save

- Repeat the same steps for the other GET methods.