SlideShare a Scribd company logo
1
Starting at 7 PM IST
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Session 4
AZ-204: Implement Azure
security
2
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
AzureTalk Core Team
3
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Today’s Session Speaker
Sanjib Panigrahi
AzureEzy Core Team
MCP, Sr Software Engineer
4
Vipin Jha
AzureEzy Core Team
Consultant, MCT
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Win Azure Exam Vouchers
• Participate in quiz during session
• 6 Selected participants will get free Azure
Exam Vouchers
• 1 selected participant will get free print copy
of Demystifying Azure DevOps Services
• Must be registered on Eventbrite
• Winner will be announced in next session
• #AzureEzy
5
Free Azure Exam
Vouchers
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Developer Associate- Cert Path
6
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
AZ-204: Skills Measured
• Develop Azure compute solutions (25-30%)
• Develop for Azure storage (15-20%)
• Implement Azure security (20-25%)
• Monitor, troubleshoot, and optimize Azure
solutions (15-20%)
• Connect to and consume Azure services and third-
party services (15-20%)
7
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Prerequisites
• Hands-on experience with Azure IaaS, PaaS solutions, and Azure Portal
• Experience writing in an Azure supported language at the intermediate
level. (C#, JavaScript, Python, or Java)
• Ability to write code to connect and perform operations on, a SQL or
NoSQL database product. (SQL Server, Oracle, MongoDB, Cassandra or
similar)
• Experience writing code to handle authentication, authorization, and
other security principles at the intermediate level
• Understanding of HTML, HTTP protocol and REST API interfaces
8
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Agenda
•Implement user authentication and authorization
•Microsoft Identity Platform v2.0
•Authentication using the Microsoft Authentication Library
•Using Microsoft Graph
•Authorizing data operations in Azure Storage
•Implement secure cloud solutions
•Manage keys, secrets, and certificates by using the KeyVault API
•Implement Managed Identities for Azure resources
•Secure app configuration data by using Azure App Configuration
9
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Microsoft Identity Platform
v2.0
10
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Microsoft Identity Platform
11
• Authentication service
• Users/Customer sign in with Microsoft identities or social accounts
• Provide authorized access
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Components
12
• OAuth 2.0 and OpenID Connect Supported
• Open-source libraries: Microsoft Authentication Libraries (MSAL) and
support for other standards-compliant libraries
• Application management portal
• Application configuration API and PowerShell
• Developer content
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Microsoft Authentication Library
14
• Acquire tokens from Microsoft identity platform
• Secure Access To Microsoft Graph, Microsoft APIs, Third-party Web
API
• Supports many application Platforms .Net, Javascript, Java, Python,
Android
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
MSAL Benefits
15
• Acquires and maintain tokens
• Handle token expiration Automatically
• Specify audience for application sign in
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
ADAL and MSAL
• AADL V1.0
• Supports work accounts,
• Doesn’t support personal accounts
• MSAL v2.0
• Support Microsoft personal accounts, work account
• Get authentications for Azure AD B2C, Facebook, Google etc.
16
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Microsoft Graph
19
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Microsoft Graph
• Gateway to data in Microsoft 365
• Use to access data in Microsoft 365, Windows 10, and Enterprise
Mobility + Security
• Use data to build apps for organizations and consumers
20
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Microsoft Graph
21
Reference : Microsoft Docs
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Authorizing data operations
in Azure Storage
22
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Access Data in Azure Storage
23
Shared Key
(storage
account key)
Shared access
signature (SAS)
Azure Active
Directory
(Azure AD)
On-premises
AD
Anonymous
public read
access
Azure Blobs Supported Supported Supported Not Supported Supported
Azure Files
(SMB)
Supported Not Supported Supported, only
with AAD
Domain
Services
Supported,
credentials must
be synced to
Azure AD
Not Supported
Azure Files
(REST)
Supported Supported Not Supported Not Supported Not Supported
Azure Queues Supported Supported Supported Not Supported Not Supported
Azure Tables Supported Supported Not Supported Not Supported Not Supported
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Storage Account Access Keys
• Created during Storage account creation
• Two 512-bit storage account access keys
• Authorize access to storage account
• Similar to root password of storage account
• Be careful to protect your access keys
• Use Azure Key Vault to manage and rotate access keys
24
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Shared Access Signature (SAS)
• String contains security token that can be attached to a URI
• Delegated access to resources in storage account
• Granular control
• Resources access
• Permissions on resources
• SAS is validity
25
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
SAS Example
https://myaccount.blob.core.windows.net/sascontainer/sasblob.txt?sv=20
19-02-02&st=2019-04-29T22%3A18%3A26Z&se=2019-04-
30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-
168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P
9ZUXDtkk%3D
26
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
CORS
• HTTP feature enables web application from one domain to access
resources in another domain
• Set CORS rules for
• Blob
• File
• Table
• Queue
27
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Manage keys, secrets, and
certificates by using the
KeyVault API
28
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Azure Key Vault
• Secrets Management
• Key Management
• Certificate Management
29
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Azure Key Vault Benefits
• Increase security and control over keys and
passwords
• Create and import encryption keys in
minutes
• Applications have no direct access to keys
• Use FIPS 140-2 Level 2 and Level 3 validated
HSMs
• Reduce latency with cloud scale and global
redundancy
• Simplify and automate tasks for SSL/TLS
certificates
30
Reference : Microsoft Docs
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Key Vault Authentication
• Managed identities for Azure resources
• Service principal and certificate
• Service principal and secret
31
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Implement Managed
Identities for Azure resources
32
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Managed Identities
• Identity for applications for Azure AD authentication
• Applications may use managed identity
• To obtain Azure AD tokens
• To access resources like Azure Key Vault where developers can store credentials in a
secure manner or to access storage accounts
33
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Managed Identities Types
• System-assigned
• Identity directly on a service instance
• Tied to lifecycle of service instance
• Automatically deletes identity with service deletion
• User-assigned
• Created as a standalone Azure resource
• Assign it to one or more instances
• Managed separately from resources
34
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
System-Assigned Managed Identity
35
Reference : Microsoft Docs
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Secure app configuration
data by using Azure App
Configuration
36
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Azure App Configuration
• Service to centrally manage application settings
and feature flags
• Store all the settings for your application
• Encryption of sensitive information at rest and
in transit
• Native integration with popular frameworks
37
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Break
38
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Demo
1. Authenticating to and querying Microsoft Graph by using MSAL
and .NET SDKs
1. Create an Azure Active Directory (Azure AD) application registration
2. Obtain a token by using the MSAL.NET library
3. Query Microsoft Graph by using the .NET SDK
2. Access resource secrets more securely across services
1. Configure secrets and identities
2. Build an Azure Functions app
3. Access Azure Blob Storage data
39
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Quiz
42
https://q.azureezy.com/az-204
Free Azure Exam Vouchers
Winners' announcement in next session on 18th July 2021
Register for next session at azureezy.com/az-204
Update your skills on LinkedIn and enter a chance to win
Surface Go!!
More info @ https://azureezy.com/azure-skills-feb21
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Winners Announcements
• Winners for Previous Session “Develop for Azure storage”
43
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
44
https://bharatguru.in
https://www.linkedin.com/in/vipinkumarjha/
https://www.linkedin.com/in/ashishrajsrivastava
https://azuredevopspro.com
https://youtube.com/AshishRajSrivastava
@ashishrajs
https://www.linkedin.com/in
/sanjibpanigrahi/
Thanks!
https://azureezy.com/az-204
https://t.me/AzureTalk
https://youtube.com/AzureTalk
https://t.me/AzureDevOpsPro

More Related Content

PPTX
PDF
Az 104 session 5: Azure networking
PDF
Az 104 session 6 azure networking part2
PDF
Az 104 session 2 implement and manage azure webapps and container
PDF
Az 900 session 2-core azure services
PDF
Introduction to Azure
PPTX
Azure Key Vault - Getting Started
PDF
Microsoft Azure Security Overview
Az 104 session 5: Azure networking
Az 104 session 6 azure networking part2
Az 104 session 2 implement and manage azure webapps and container
Az 900 session 2-core azure services
Introduction to Azure
Azure Key Vault - Getting Started
Microsoft Azure Security Overview

What's hot (20)

PPTX
Microsoft Azure Technical Overview
PPTX
Azure Storage
PPTX
Azure key vault
PDF
Az 104 session 3 azure compute
PPTX
PPTX
Lets talk about: Azure Kubernetes Service (AKS)
PDF
Azure Arc - Managing Hybrid and Multi-Cloud Platforms
PPTX
Azure fundamentals
PPTX
Azure App Service Deep Dive
PDF
Az 104 session 4: azure storage
PPTX
Azure security and Compliance
PPTX
Azure Container Apps
PPTX
Microsoft Azure Networking Basics
PPTX
Business Continuity & Disaster Recovery with Microsoft Azure
PDF
Kubernetes Networking
PDF
Building an Enterprise-Grade Azure Governance Model
PPTX
Azure container instances
PDF
DevSecOps Basics with Azure Pipelines
PDF
Designing a complete ci cd pipeline using argo events, workflow and cd products
PPTX
Azure Backup Simplifies
Microsoft Azure Technical Overview
Azure Storage
Azure key vault
Az 104 session 3 azure compute
Lets talk about: Azure Kubernetes Service (AKS)
Azure Arc - Managing Hybrid and Multi-Cloud Platforms
Azure fundamentals
Azure App Service Deep Dive
Az 104 session 4: azure storage
Azure security and Compliance
Azure Container Apps
Microsoft Azure Networking Basics
Business Continuity & Disaster Recovery with Microsoft Azure
Kubernetes Networking
Building an Enterprise-Grade Azure Governance Model
Azure container instances
DevSecOps Basics with Azure Pipelines
Designing a complete ci cd pipeline using argo events, workflow and cd products
Azure Backup Simplifies
Ad

Similar to AZ-204 : Implement Azure security (20)

PDF
AZ-204: Connect to and consume Azure services and third-party services - Part 1
PDF
Az 900 Session 3 Security, privacy, compliance, trust, pricing, SLA and Lifec...
PPTX
Azure Fundamentals Part 3
 
PDF
AZ-400: Define and implement continuous integration – Part 2
PDF
AZ-204: Monitor, Troubleshoot & Optimize Azure Solutions
PDF
Application Security - 28 Nov 2018
PDF
Develop for Azure storage
PPTX
Design Practices for a Secure Azure Solution
PDF
Az 104 session 8 azure monitoring
PDF
Securing APIs for ultimate security and privacy with Azure | Codit Webinar
PDF
Microsoft Azure Developer Associate Singapore.pdf
PPTX
[Toroman/Kranjac] Red Team vs. Blue Team in Microsoft Cloud
PPTX
Azure Day 1.pptx
PDF
Microsoft security compass presentation latest
PDF
24032022 Zero Trust for Developers Pub.pdf
PDF
Develop Azure compute solutions Part - 2
PPTX
Microsoft Azure News - Mar 2021
PDF
70-534_architecturing Azure le complet.pdf
PPTX
DevSecOps - automating security
PDF
KoprowskiT_session1_SDNEvent_WASDforBeginners
AZ-204: Connect to and consume Azure services and third-party services - Part 1
Az 900 Session 3 Security, privacy, compliance, trust, pricing, SLA and Lifec...
Azure Fundamentals Part 3
 
AZ-400: Define and implement continuous integration – Part 2
AZ-204: Monitor, Troubleshoot & Optimize Azure Solutions
Application Security - 28 Nov 2018
Develop for Azure storage
Design Practices for a Secure Azure Solution
Az 104 session 8 azure monitoring
Securing APIs for ultimate security and privacy with Azure | Codit Webinar
Microsoft Azure Developer Associate Singapore.pdf
[Toroman/Kranjac] Red Team vs. Blue Team in Microsoft Cloud
Azure Day 1.pptx
Microsoft security compass presentation latest
24032022 Zero Trust for Developers Pub.pdf
Develop Azure compute solutions Part - 2
Microsoft Azure News - Mar 2021
70-534_architecturing Azure le complet.pdf
DevSecOps - automating security
KoprowskiT_session1_SDNEvent_WASDforBeginners
Ad

Recently uploaded (20)

PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Tartificialntelligence_presentation.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Electronic commerce courselecture one. Pdf
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
cuic standard and advanced reporting.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Empathic Computing: Creating Shared Understanding
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Approach and Philosophy of On baking technology
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
SOPHOS-XG Firewall Administrator PPT.pptx
Encapsulation_ Review paper, used for researhc scholars
A comparative analysis of optical character recognition models for extracting...
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Tartificialntelligence_presentation.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
Electronic commerce courselecture one. Pdf
Assigned Numbers - 2025 - Bluetooth® Document
cuic standard and advanced reporting.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Empathic Computing: Creating Shared Understanding
MYSQL Presentation for SQL database connectivity
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Approach and Philosophy of On baking technology
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
MIND Revenue Release Quarter 2 2025 Press Release
Building Integrated photovoltaic BIPV_UPV.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx

AZ-204 : Implement Azure security

  • 2. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Session 4 AZ-204: Implement Azure security 2
  • 3. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! AzureTalk Core Team 3
  • 4. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Today’s Session Speaker Sanjib Panigrahi AzureEzy Core Team MCP, Sr Software Engineer 4 Vipin Jha AzureEzy Core Team Consultant, MCT
  • 5. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Win Azure Exam Vouchers • Participate in quiz during session • 6 Selected participants will get free Azure Exam Vouchers • 1 selected participant will get free print copy of Demystifying Azure DevOps Services • Must be registered on Eventbrite • Winner will be announced in next session • #AzureEzy 5 Free Azure Exam Vouchers
  • 6. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Developer Associate- Cert Path 6
  • 7. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! AZ-204: Skills Measured • Develop Azure compute solutions (25-30%) • Develop for Azure storage (15-20%) • Implement Azure security (20-25%) • Monitor, troubleshoot, and optimize Azure solutions (15-20%) • Connect to and consume Azure services and third- party services (15-20%) 7
  • 8. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Prerequisites • Hands-on experience with Azure IaaS, PaaS solutions, and Azure Portal • Experience writing in an Azure supported language at the intermediate level. (C#, JavaScript, Python, or Java) • Ability to write code to connect and perform operations on, a SQL or NoSQL database product. (SQL Server, Oracle, MongoDB, Cassandra or similar) • Experience writing code to handle authentication, authorization, and other security principles at the intermediate level • Understanding of HTML, HTTP protocol and REST API interfaces 8
  • 9. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Agenda •Implement user authentication and authorization •Microsoft Identity Platform v2.0 •Authentication using the Microsoft Authentication Library •Using Microsoft Graph •Authorizing data operations in Azure Storage •Implement secure cloud solutions •Manage keys, secrets, and certificates by using the KeyVault API •Implement Managed Identities for Azure resources •Secure app configuration data by using Azure App Configuration 9
  • 10. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Microsoft Identity Platform v2.0 10
  • 11. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Microsoft Identity Platform 11 • Authentication service • Users/Customer sign in with Microsoft identities or social accounts • Provide authorized access
  • 12. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Components 12 • OAuth 2.0 and OpenID Connect Supported • Open-source libraries: Microsoft Authentication Libraries (MSAL) and support for other standards-compliant libraries • Application management portal • Application configuration API and PowerShell • Developer content
  • 13. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Microsoft Authentication Library 14 • Acquire tokens from Microsoft identity platform • Secure Access To Microsoft Graph, Microsoft APIs, Third-party Web API • Supports many application Platforms .Net, Javascript, Java, Python, Android
  • 14. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! MSAL Benefits 15 • Acquires and maintain tokens • Handle token expiration Automatically • Specify audience for application sign in
  • 15. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! ADAL and MSAL • AADL V1.0 • Supports work accounts, • Doesn’t support personal accounts • MSAL v2.0 • Support Microsoft personal accounts, work account • Get authentications for Azure AD B2C, Facebook, Google etc. 16
  • 16. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Microsoft Graph 19
  • 17. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Microsoft Graph • Gateway to data in Microsoft 365 • Use to access data in Microsoft 365, Windows 10, and Enterprise Mobility + Security • Use data to build apps for organizations and consumers 20
  • 18. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Microsoft Graph 21 Reference : Microsoft Docs
  • 19. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Authorizing data operations in Azure Storage 22
  • 20. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Access Data in Azure Storage 23 Shared Key (storage account key) Shared access signature (SAS) Azure Active Directory (Azure AD) On-premises AD Anonymous public read access Azure Blobs Supported Supported Supported Not Supported Supported Azure Files (SMB) Supported Not Supported Supported, only with AAD Domain Services Supported, credentials must be synced to Azure AD Not Supported Azure Files (REST) Supported Supported Not Supported Not Supported Not Supported Azure Queues Supported Supported Supported Not Supported Not Supported Azure Tables Supported Supported Not Supported Not Supported Not Supported
  • 21. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Storage Account Access Keys • Created during Storage account creation • Two 512-bit storage account access keys • Authorize access to storage account • Similar to root password of storage account • Be careful to protect your access keys • Use Azure Key Vault to manage and rotate access keys 24
  • 22. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Shared Access Signature (SAS) • String contains security token that can be attached to a URI • Delegated access to resources in storage account • Granular control • Resources access • Permissions on resources • SAS is validity 25
  • 23. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! SAS Example https://myaccount.blob.core.windows.net/sascontainer/sasblob.txt?sv=20 19-02-02&st=2019-04-29T22%3A18%3A26Z&se=2019-04- 30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60- 168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P 9ZUXDtkk%3D 26
  • 24. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! CORS • HTTP feature enables web application from one domain to access resources in another domain • Set CORS rules for • Blob • File • Table • Queue 27
  • 25. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Manage keys, secrets, and certificates by using the KeyVault API 28
  • 26. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Azure Key Vault • Secrets Management • Key Management • Certificate Management 29
  • 27. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Azure Key Vault Benefits • Increase security and control over keys and passwords • Create and import encryption keys in minutes • Applications have no direct access to keys • Use FIPS 140-2 Level 2 and Level 3 validated HSMs • Reduce latency with cloud scale and global redundancy • Simplify and automate tasks for SSL/TLS certificates 30 Reference : Microsoft Docs
  • 28. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Key Vault Authentication • Managed identities for Azure resources • Service principal and certificate • Service principal and secret 31
  • 29. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Implement Managed Identities for Azure resources 32
  • 30. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Managed Identities • Identity for applications for Azure AD authentication • Applications may use managed identity • To obtain Azure AD tokens • To access resources like Azure Key Vault where developers can store credentials in a secure manner or to access storage accounts 33
  • 31. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Managed Identities Types • System-assigned • Identity directly on a service instance • Tied to lifecycle of service instance • Automatically deletes identity with service deletion • User-assigned • Created as a standalone Azure resource • Assign it to one or more instances • Managed separately from resources 34
  • 32. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! System-Assigned Managed Identity 35 Reference : Microsoft Docs
  • 33. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Secure app configuration data by using Azure App Configuration 36
  • 34. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Azure App Configuration • Service to centrally manage application settings and feature flags • Store all the settings for your application • Encryption of sensitive information at rest and in transit • Native integration with popular frameworks 37
  • 35. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Break 38
  • 36. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Demo 1. Authenticating to and querying Microsoft Graph by using MSAL and .NET SDKs 1. Create an Azure Active Directory (Azure AD) application registration 2. Obtain a token by using the MSAL.NET library 3. Query Microsoft Graph by using the .NET SDK 2. Access resource secrets more securely across services 1. Configure secrets and identities 2. Build an Azure Functions app 3. Access Azure Blob Storage data 39
  • 37. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Quiz 42 https://q.azureezy.com/az-204 Free Azure Exam Vouchers Winners' announcement in next session on 18th July 2021 Register for next session at azureezy.com/az-204 Update your skills on LinkedIn and enter a chance to win Surface Go!! More info @ https://azureezy.com/azure-skills-feb21
  • 38. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Winners Announcements • Winners for Previous Session “Develop for Azure storage” 43
  • 39. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! 44 https://bharatguru.in https://www.linkedin.com/in/vipinkumarjha/ https://www.linkedin.com/in/ashishrajsrivastava https://azuredevopspro.com https://youtube.com/AshishRajSrivastava @ashishrajs https://www.linkedin.com/in /sanjibpanigrahi/ Thanks! https://azureezy.com/az-204 https://t.me/AzureTalk https://youtube.com/AzureTalk https://t.me/AzureDevOpsPro