Azure Serverless Computing Cookbook
上QQ阅读APP看书,第一时间看更新

Generating the SendGrid API key

  1. In order to utilize the SendGrid account by the Azure Functions runtime, we need to provide the SendGrid API key as input to the Azure Functions. You can generate an API key from the SendGrid portal. Let's navigate to the SendGrid portal by clicking on the Manage button in the Essentials blade of SendGrid Account, as shown in the following screenshot:
  1. In the SendGrid portal, click on API Keys under the Settings section of the left-hand side menu, as shown in the following screenshot:
  1. In the API Keys page, click on Create API Key, as shown in the following screenshot:
  1. In the Create API Key popup, provide a name and choose API Key Permissions and click on the Create & View button.
  2. After a moment, you will be able to see the API key. Click on the key to copy it to the clipboard, as shown in the following screenshot: