Deploying Container App with Azure Function using Managed Identity Authentication
Description
Azure Functions are a serverless compute service in Microsoft Azure. You can use Azure Functions to deploy code without having to think about what servers the code will run on. The capabilities of the Azure function is endless as it enables you to deploy, destroy and update Azure resources programmatically using any programming language of your choice.
Developers often face the challenge of managing secrets and credentials for an application. Managed Identity eliminates the need to store credentials by offloading the authentication on the platform level and letting you generate unique access tokens during runtime. Currently, Azure offers System-assigned and User-assigned managed identities to achieve similar results.
In this hands-on lab, you will create an HTTP trigger function app with managed identity authentication that deploys a container instance programmatically and publish the app using Function Core Tools using an IDE environment.
Learning Objectives
Upon completion of this beginner/intermediate/advanced level lab, you will be able to:
- Create an HTTP Trigger function app
- Add Managed Identity Authentication to the function app
- Use Function Core Tools to deploy the function app
Intended Audience
- Candidates for Azure Developer Exam (AZ-204)
- Cloud Architects
- Data Engineers
- DevOps Engineers
- Software Engineers
Prerequisites
Familiarity with the following will be beneficial but is not required:
- Azure Functions
- Azure Container Instance
The following content can be used to fulfill the prerequisite: