Sequence the steps to correctly set up API keys using the Amazon API Gateway console.
Answers
Answered by
253
Answer:
1. Create a usage plan
2. Associate API stages to the usage plan
3. Create or add API key to the usage plan
4. Configure authorization settings for API methods
Explanation:
Answered by
1
To sequence the steps to correctly set up API keys using the Amazon API Gateway console, follow the given steps:
- Make a usage plan: Create a usage plan by going to the Usage Plans tab and clicking Create. This will help you get started on creating a Usage Plan.
- In AWS API Gateway, create your API keys: Select "Add API Key to Usage Plan" from the drop-down menu. This will allow you to add API keys to the newly generated Usage Plan.
- In AWS API Gateway, disallow access without an API Key: For the time being, we've only authorised access using an API Key. However, access without an API Key continues to work. That needs to change. Go to the API method you want to use. To access the next menu, select Method Request. You've already received a warning message. Change "API Key Required" to "True" to ensure that the API only accepts queries that include an API Key.
- Set up your API: Now that you've added an API Key, you'll need to deploy your API in order for the modifications to take effect.
#SPJ2
Similar questions
Social Sciences,
11 days ago
Math,
11 days ago
Environmental Sciences,
22 days ago
World Languages,
22 days ago
Hindi,
8 months ago