In this chapter, you signed up to a third-party API and received your own key. The API key is stored in your Azure key vault and kept secure from access by unauthorized clients. You then moved on to create an ASP.NET Core web application and published it to Azure. Then, you set about securing the web application by using authentication and role-based authorization.
The authorization we set up is performed using an API key. You used two API keys in this project—one for internal use and one for external use. The testing of our API and API key security was performed using the Postman application. Postman is a very good and useful tool for testing HTTP requests and responses for the various HTTP verbs.
You then added the dividend calendar API code and enabled internal and external access based on API keys. The project itself performed a number of different API calls to build up a list of companies that are expecting to pay dividends to investors. The...