AZ-204 : Implement Azure security

A
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
1 of 39

Recommended

Az 900 Session 3 Security, privacy, compliance, trust, pricing, SLA and Lifec... by
Az 900 Session 3 Security, privacy, compliance, trust, pricing, SLA and Lifec...Az 900 Session 3 Security, privacy, compliance, trust, pricing, SLA and Lifec...
Az 900 Session 3 Security, privacy, compliance, trust, pricing, SLA and Lifec...AzureEzy1
5.2K views55 slides
Azure Storage Services - Part 01 by
Azure Storage Services - Part 01Azure Storage Services - Part 01
Azure Storage Services - Part 01Neeraj Kumar
1.6K views7 slides
Azure Key Vault - Getting Started by
Azure Key Vault - Getting StartedAzure Key Vault - Getting Started
Azure Key Vault - Getting StartedTaswar Bhatti
4.6K views40 slides
Azure Governance by
Azure GovernanceAzure Governance
Azure GovernanceBenjamin Hüpeden
1.4K views27 slides
Azure key vault by
Azure key vaultAzure key vault
Azure key vaultRahul Nath
2.1K views18 slides
Azure storage by
Azure storageAzure storage
Azure storageRaju Kumar
3.8K views18 slides

More Related Content

What's hot

Az 104 session 2 implement and manage azure webapps and container by
Az 104 session 2 implement and manage azure webapps and containerAz 104 session 2 implement and manage azure webapps and container
Az 104 session 2 implement and manage azure webapps and containerAzureEzy1
12.7K views59 slides
TechEvent Databricks on Azure by
TechEvent Databricks on AzureTechEvent Databricks on Azure
TechEvent Databricks on AzureTrivadis
368 views46 slides
Azure Backup Simplifies by
Azure Backup SimplifiesAzure Backup Simplifies
Azure Backup SimplifiesTanawit Chansuchai
947 views27 slides
Azure Container Apps by
Azure Container AppsAzure Container Apps
Azure Container AppsKen Sykora
753 views24 slides
Az 104 session 6 azure networking part2 by
Az 104 session 6 azure networking part2Az 104 session 6 azure networking part2
Az 104 session 6 azure networking part2AzureEzy1
12K views46 slides
Az 900 session 2-core azure services by
Az 900 session 2-core azure servicesAz 900 session 2-core azure services
Az 900 session 2-core azure servicesAzureEzy1
5.2K views49 slides

What's hot(20)

Az 104 session 2 implement and manage azure webapps and container by AzureEzy1
Az 104 session 2 implement and manage azure webapps and containerAz 104 session 2 implement and manage azure webapps and container
Az 104 session 2 implement and manage azure webapps and container
AzureEzy112.7K views
TechEvent Databricks on Azure by Trivadis
TechEvent Databricks on AzureTechEvent Databricks on Azure
TechEvent Databricks on Azure
Trivadis368 views
Azure Container Apps by Ken Sykora
Azure Container AppsAzure Container Apps
Azure Container Apps
Ken Sykora753 views
Az 104 session 6 azure networking part2 by AzureEzy1
Az 104 session 6 azure networking part2Az 104 session 6 azure networking part2
Az 104 session 6 azure networking part2
AzureEzy112K views
Az 900 session 2-core azure services by AzureEzy1
Az 900 session 2-core azure servicesAz 900 session 2-core azure services
Az 900 session 2-core azure services
AzureEzy15.2K views
Migrating Data and Databases to Azure by Karen Lopez
Migrating Data and Databases to AzureMigrating Data and Databases to Azure
Migrating Data and Databases to Azure
Karen Lopez261 views
Azure Storage by Mustafa
Azure StorageAzure Storage
Azure Storage
Mustafa 4.6K views
A complete guide to azure storage by Himanshu Sahu
A complete guide to azure storageA complete guide to azure storage
A complete guide to azure storage
Himanshu Sahu1.6K views
Choosing Between Microsoft Fabric, Azure Synapse Analytics and Azure Data Fac... by Cathrine Wilhelmsen
Choosing Between Microsoft Fabric, Azure Synapse Analytics and Azure Data Fac...Choosing Between Microsoft Fabric, Azure Synapse Analytics and Azure Data Fac...
Choosing Between Microsoft Fabric, Azure Synapse Analytics and Azure Data Fac...
The Azure Group - Azure Network Watcher by Adin Ermie
The Azure Group - Azure Network WatcherThe Azure Group - Azure Network Watcher
The Azure Group - Azure Network Watcher
Adin Ermie1.2K views
SQL to Azure Migrations by Datavail
SQL to Azure MigrationsSQL to Azure Migrations
SQL to Azure Migrations
Datavail508 views
Introduction to Azure Functions by Callon Campbell
Introduction to Azure FunctionsIntroduction to Azure Functions
Introduction to Azure Functions
Callon Campbell4.6K views
Az 104 session 5: Azure networking by AzureEzy1
Az 104 session 5: Azure networkingAz 104 session 5: Azure networking
Az 104 session 5: Azure networking
AzureEzy112.1K views
Introduction to the Microsoft Azure Cloud.pptx by EverestMedinilla2
Introduction to the Microsoft Azure Cloud.pptxIntroduction to the Microsoft Azure Cloud.pptx
Introduction to the Microsoft Azure Cloud.pptx
EverestMedinilla2125 views
Azure SQL Database & Azure SQL Data Warehouse by Mohamed Tawfik
Azure SQL Database & Azure SQL Data WarehouseAzure SQL Database & Azure SQL Data Warehouse
Azure SQL Database & Azure SQL Data Warehouse
Mohamed Tawfik4K views
Securing sensitive data with Azure Key Vault by Tom Kerkhove
Securing sensitive data with Azure Key VaultSecuring sensitive data with Azure Key Vault
Securing sensitive data with Azure Key Vault
Tom Kerkhove3.4K views

Similar to AZ-204 : Implement Azure security

Develop Azure compute solutions Part - 2 by
Develop Azure compute solutions Part - 2Develop Azure compute solutions Part - 2
Develop Azure compute solutions Part - 2AzureEzy1
296 views33 slides
Az 104 session 8 azure monitoring by
Az 104 session 8 azure monitoringAz 104 session 8 azure monitoring
Az 104 session 8 azure monitoringAzureEzy1
11.3K views49 slides
Az 104 session 4: azure storage by
Az 104 session 4: azure storageAz 104 session 4: azure storage
Az 104 session 4: azure storageAzureEzy1
12.1K views57 slides
Azure - Identity as a service by
Azure - Identity as a serviceAzure - Identity as a service
Azure - Identity as a serviceBizTalk360
765 views19 slides
AZ-204: Connect to and consume Azure services and third-party services - Part 1 by
AZ-204: Connect to and consume Azure services and third-party services - Part 1AZ-204: Connect to and consume Azure services and third-party services - Part 1
AZ-204: Connect to and consume Azure services and third-party services - Part 1AzureEzy1
1.2K views30 slides
AZ-400 Session 1: Facilitate communication and collaboration by
AZ-400 Session 1: Facilitate communication and collaborationAZ-400 Session 1: Facilitate communication and collaboration
AZ-400 Session 1: Facilitate communication and collaborationAzureEzy1
2.3K views54 slides

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

Develop Azure compute solutions Part - 2 by AzureEzy1
Develop Azure compute solutions Part - 2Develop Azure compute solutions Part - 2
Develop Azure compute solutions Part - 2
AzureEzy1296 views
Az 104 session 8 azure monitoring by AzureEzy1
Az 104 session 8 azure monitoringAz 104 session 8 azure monitoring
Az 104 session 8 azure monitoring
AzureEzy111.3K views
Az 104 session 4: azure storage by AzureEzy1
Az 104 session 4: azure storageAz 104 session 4: azure storage
Az 104 session 4: azure storage
AzureEzy112.1K views
Azure - Identity as a service by BizTalk360
Azure - Identity as a serviceAzure - Identity as a service
Azure - Identity as a service
BizTalk360765 views
AZ-204: Connect to and consume Azure services and third-party services - Part 1 by AzureEzy1
AZ-204: Connect to and consume Azure services and third-party services - Part 1AZ-204: Connect to and consume Azure services and third-party services - Part 1
AZ-204: Connect to and consume Azure services and third-party services - Part 1
AzureEzy11.2K views
AZ-400 Session 1: Facilitate communication and collaboration by AzureEzy1
AZ-400 Session 1: Facilitate communication and collaborationAZ-400 Session 1: Facilitate communication and collaboration
AZ-400 Session 1: Facilitate communication and collaboration
AzureEzy12.3K views
Develop for Azure storage by AzureEzy1
Develop for Azure storageDevelop for Azure storage
Develop for Azure storage
AzureEzy11.5K views
AZ-400: Define and implement a continuous delivery and release management str... by AzureEzy1
AZ-400: Define and implement a continuous delivery and release management str...AZ-400: Define and implement a continuous delivery and release management str...
AZ-400: Define and implement a continuous delivery and release management str...
AzureEzy11.7K views
Secure Your Code Implement DevSecOps in Azure by kloia
Secure Your Code Implement DevSecOps in AzureSecure Your Code Implement DevSecOps in Azure
Secure Your Code Implement DevSecOps in Azure
kloia270 views
EWUG 2018 February the journey continues..... by Peter Selch Dahl
EWUG 2018 February   the journey continues.....EWUG 2018 February   the journey continues.....
EWUG 2018 February the journey continues.....
Peter Selch Dahl109 views
Windows Azure Active Directory: Identity Management in the Cloud by Chris Dufour
Windows Azure Active Directory: Identity Management in the CloudWindows Azure Active Directory: Identity Management in the Cloud
Windows Azure Active Directory: Identity Management in the Cloud
Chris Dufour3.3K views
AZ-400: Define and implement continuous integration – Part 2 by AzureEzy1
AZ-400: Define and implement continuous integration – Part 2AZ-400: Define and implement continuous integration – Part 2
AZ-400: Define and implement continuous integration – Part 2
AzureEzy11.7K views
Az 104 session 3 azure compute by AzureEzy1
Az 104 session 3 azure compute Az 104 session 3 azure compute
Az 104 session 3 azure compute
AzureEzy112.9K views
Containers on azure web apps by Rajesh Kolla
Containers on azure web appsContainers on azure web apps
Containers on azure web apps
Rajesh Kolla44 views
Envision it SharePoint Extranet Webinar Series - Federation and Office 365 by Envision IT
Envision it SharePoint Extranet Webinar Series - Federation and Office 365Envision it SharePoint Extranet Webinar Series - Federation and Office 365
Envision it SharePoint Extranet Webinar Series - Federation and Office 365
Envision IT11.8K views
Secure deployments keeping your application secrets private - condensed by Henry Been
Secure deployments   keeping your application secrets private - condensedSecure deployments   keeping your application secrets private - condensed
Secure deployments keeping your application secrets private - condensed
Henry Been58 views
Understanding Cloud Identities - SMBNation 2015 by Robert Crane
Understanding Cloud Identities - SMBNation 2015Understanding Cloud Identities - SMBNation 2015
Understanding Cloud Identities - SMBNation 2015
Robert Crane208 views
CIAOPS Need to Know Azure Webinar - January 2018 by Robert Crane
CIAOPS Need to Know Azure Webinar - January 2018CIAOPS Need to Know Azure Webinar - January 2018
CIAOPS Need to Know Azure Webinar - January 2018
Robert Crane689 views

Recently uploaded

Webinar : Desperately Seeking Transformation - Part 2: Insights from leading... by
Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading...The Digital Insurer
24 views52 slides
Evolving the Network Automation Journey from Python to Platforms by
Evolving the Network Automation Journey from Python to PlatformsEvolving the Network Automation Journey from Python to Platforms
Evolving the Network Automation Journey from Python to PlatformsNetwork Automation Forum
17 views21 slides
STKI Israeli Market Study 2023 corrected forecast 2023_24 v3.pdf by
STKI Israeli Market Study 2023   corrected forecast 2023_24 v3.pdfSTKI Israeli Market Study 2023   corrected forecast 2023_24 v3.pdf
STKI Israeli Market Study 2023 corrected forecast 2023_24 v3.pdfDr. Jimmy Schwarzkopf
24 views29 slides
Five Things You SHOULD Know About Postman by
Five Things You SHOULD Know About PostmanFive Things You SHOULD Know About Postman
Five Things You SHOULD Know About PostmanPostman
38 views43 slides
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N... by
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...James Anderson
126 views32 slides
Network Source of Truth and Infrastructure as Code revisited by
Network Source of Truth and Infrastructure as Code revisitedNetwork Source of Truth and Infrastructure as Code revisited
Network Source of Truth and Infrastructure as Code revisitedNetwork Automation Forum
32 views45 slides

Recently uploaded(20)

Webinar : Desperately Seeking Transformation - Part 2: Insights from leading... by The Digital Insurer
Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading...
STKI Israeli Market Study 2023 corrected forecast 2023_24 v3.pdf by Dr. Jimmy Schwarzkopf
STKI Israeli Market Study 2023   corrected forecast 2023_24 v3.pdfSTKI Israeli Market Study 2023   corrected forecast 2023_24 v3.pdf
STKI Israeli Market Study 2023 corrected forecast 2023_24 v3.pdf
Five Things You SHOULD Know About Postman by Postman
Five Things You SHOULD Know About PostmanFive Things You SHOULD Know About Postman
Five Things You SHOULD Know About Postman
Postman38 views
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N... by James Anderson
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
James Anderson126 views
TouchLog: Finger Micro Gesture Recognition Using Photo-Reflective Sensors by sugiuralab
TouchLog: Finger Micro Gesture Recognition  Using Photo-Reflective SensorsTouchLog: Finger Micro Gesture Recognition  Using Photo-Reflective Sensors
TouchLog: Finger Micro Gesture Recognition Using Photo-Reflective Sensors
sugiuralab23 views
Business Analyst Series 2023 - Week 3 Session 5 by DianaGray10
Business Analyst Series 2023 -  Week 3 Session 5Business Analyst Series 2023 -  Week 3 Session 5
Business Analyst Series 2023 - Week 3 Session 5
DianaGray10345 views
STPI OctaNE CoE Brochure.pdf by madhurjyapb
STPI OctaNE CoE Brochure.pdfSTPI OctaNE CoE Brochure.pdf
STPI OctaNE CoE Brochure.pdf
madhurjyapb14 views
PharoJS - Zürich Smalltalk Group Meetup November 2023 by Noury Bouraqadi
PharoJS - Zürich Smalltalk Group Meetup November 2023PharoJS - Zürich Smalltalk Group Meetup November 2023
PharoJS - Zürich Smalltalk Group Meetup November 2023
Noury Bouraqadi139 views
Piloting & Scaling Successfully With Microsoft Viva by Richard Harbridge
Piloting & Scaling Successfully With Microsoft VivaPiloting & Scaling Successfully With Microsoft Viva
Piloting & Scaling Successfully With Microsoft Viva
2024: A Travel Odyssey The Role of Generative AI in the Tourism Universe by Simone Puorto
2024: A Travel Odyssey The Role of Generative AI in the Tourism Universe2024: A Travel Odyssey The Role of Generative AI in the Tourism Universe
2024: A Travel Odyssey The Role of Generative AI in the Tourism Universe
Simone Puorto13 views
Special_edition_innovator_2023.pdf by WillDavies22
Special_edition_innovator_2023.pdfSpecial_edition_innovator_2023.pdf
Special_edition_innovator_2023.pdf
WillDavies2218 views
"Running students' code in isolation. The hard way", Yurii Holiuk by Fwdays
"Running students' code in isolation. The hard way", Yurii Holiuk "Running students' code in isolation. The hard way", Yurii Holiuk
"Running students' code in isolation. The hard way", Yurii Holiuk
Fwdays24 views

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