Time
14 hours 28 minutes
Difficulty
Intermediate
CEU/CPE
15

Video Transcription

00:00
Hello, Siberians. Welcome to lesson Two points to off model to off this cost stated. Is that receiver one Microsoft Azure Architect Design?
00:10
Yeah, the concepts that will be covering in this video.
00:14
We'll start out by covering the differences between the management plane and it data plane off Azure Key Vote on Darby. Highlight into you best practices around Lee's privileged access to sensitive keys and secrets.
00:29
How don't cover the integration is that Microsoft as buttes between Azure key vote on order service is in azure on even beyond service is in hasher toe order. Microsoft Service is
00:42
finally I will talk about what managed identity. Ease the different types off managed identity on how it elves developers who needs to write courts that make use off secret keys and certificates that are starred in azure key Vote.
00:56
Let's get into these.
00:58
What asked to service tears the standard service here and the Premium service day, and we have to select the option that we want at the time of deployment.
01:07
No
01:08
bought off. The service stairs have similar functionalities
01:12
with the exception off one men difference
01:17
standards Every stairs Support on Lee Software Protected Keys.
01:21
Wow, the premium service here, Support bought the software and HSM protected kiss, which means the main advantage for going for the premium service there is not necessarily in terms of functionality bar in temps off compliance.
01:38
One of the key concepts to understand about azure key vote It's the separation between the management plane on the data plane.
01:45
So this understanding is very critical,
01:47
truly enforcing the principal off lease privilege for your key vote resources. What do I mean by this? On the right hand side, I have another key vote resource on under left inside. I have two rows within an organization security administrator on the application developer.
02:04
Security Administrator in this case is responsible for proper safekeeping off secret, while the application developer just simply wants to write their cord and write the applications to be able to make use off certain resources that are certain keys or secrets or certificates that may be starting the key vote.
02:22
So security administrator may require permission to be able to see the log in for kids secrets and certificate. Who is making calls for seven operations. Tow this different items,
02:35
while the application developer just simply needs to your eye or the codes to be ableto access. This items in the key votes
02:43
to be able to achieve the separation. What we can do is we can assign permission to the security administrator on the management plane, using row based access control that are, we give permission to the management plane off azure key votes that's in itself does not grant permissions into the data plane
03:02
or into the items that I start within the key vote. So that's great.
03:08
And then we can give the court that the application developers creating or wherever they run in the code we can give that access
03:17
into the data plane using something called access policy. That's our data. Plane access is controlled using access policy.
03:27
Let's talk about I just service's support that are negatively built in with azure key votes.
03:34
Let's start by talking about keys
03:36
so their sudden service is in Asia that I encrypted at rest
03:42
on dhe, the encryption key that they used by default on Microsoft manage Keys and Microsoft gives us,
03:49
in some cases the option to be able to use customer managed keys on. That is where your key vote comes in because for the service is that you can see on the screen. There's integration with azure key votes so that the key is that the years can be stored in a jockey vote
04:06
on dhe. The keys can be managed by the customer. So, for example, and I just average account
04:13
by default. It's encrypted
04:15
with makes off managed keys. What we can do is we can go ahead and just select a single option to switch that over to customer manage G, specify our as your give out on then give the storage account service permission to be able to retrieve the encryption key for Maja keyboard,
04:32
and that is managed by the customer. In this case,
04:35
the same goes for the other service is that you see on the screen now with something like a job disc encryption, which uses a bit locker if you're using windows and uses land crypt. If you're using Lennox, the keys for for the encryption can also be start directly into azure key vote.
04:53
Let's talk about secrets.
04:55
So there's also opportunity to be able to use customer manage secrets in this situation. So, for example, I sure showed us light earlier where whenever you're deploying the veteran machine. We can supply an administrative passwords that virtual mission would be using by simply passing
05:14
a key vote reference into a primate. A foul in azure ham template
05:17
on the same goes for the other cases that you see on the screen. So costume I can supply admin password for a sequel databases that it creates directly via azure key vote costume. I can supply secrets into azure. Did a factory scopes and customers can supply secret into as your community service is containers
05:39
when it comes to certificates
05:42
as your key votes supports. Set in service is to be able to retrieve certificates directly from azure key vote, and that is the case that you're seeing here. So service is like a jury. AP Management CDN Application Get way a. CZ your Web as your functions and as your community service is, containers
06:00
can directly
06:02
retrieved the certificates from azure key votes. So let's talk about azure key vote and manage service identity. So this is one of those topics I could have covered on the attractive directory.
06:15
I think that one of the most popular use cases off managed service identities, integration without your key vote, which is why I'm covering it in this section.
06:23
So take a situation, for example,
06:26
where I have an azure key vote
06:29
with my key secrets and suffocate in it.
06:30
And I have set in resources in Hodulik agile function as your virtual machine eyes your Web that Austin my coat on my court needs to be able to retrieve said in secret within the key vote.
06:44
The old way to go about that is our goto as your active directory, which is what I Jackie, what's trust and uses
06:51
on our create a service principle, which we have, um, Heidi on the key.
06:57
How then referenced the idea and the key in my coat,
07:01
which my code can then use the Heidi and the key to authenticate it against Azure active directory.
07:10
And once we not indicated skull, transform that into a talking, and then the talkin can be used to get access to the value off. The sacred or the key are the certificates that start in as your key vote, and that will be controlled van access policy.
07:26
So that's the way that that will have operated before we have managed service identity.
07:32
But what does that look like with managed service identity? Let's have a look.
07:36
So the same scenario. But in this case, what happens is my code is still running on Elijah Service provider and creating this service principle. I can simply associate
07:47
a managed identity with the service that my code is running him.
07:55
So what is allows me to do is that my court, when have I need to access that item in key votes, can simply make a local meta data call,
08:07
which will audit automatically authentic it against a joy. Haiti. On dhe, my court ends up getting to talk him, which can then be used. Toa access the item in the key votes. So you may be thinking, What's the difference between the differences that saves me from having to create a service principle on referencing
08:26
that service principle
08:28
within my coat on? Also, I have to manage the life cycle of the service principle. In this case, this is managed for me because I can simply associate on identity to my service where my court is running in and I can give the service permission to set an attempted in the key vote. So let's talk about the difference between system assigned
08:48
vessel issues. Assigned managed identity, decided types, off managed identities
08:52
that we have in Hazzard.
08:54
So take a situation where I have my code running across multiple resources as you can see on the screen.
09:01
If I'm gonna be using system assigned managed identity, there's more work to do.
09:05
So the 1st 1 on each designed needs toe associate system assigned. Manage identity, tow each resource where my quarters running on
09:13
Andi out, then needs to grant each system Assigned managed identity permissions is an access policies to the information and the key votes. This has to be done individually.
09:24
My coat can then make local meta data call to retrieve the talkin,
09:28
which can then be used to access the information in azure key vote.
09:33
In this scenario, what I've ended up doing is have ended abusing two system assigned managed identities onto access policies for the permissions. Now, if I let's they have 10 vessel sees,
09:48
that means I'll need 10 system assigned managed identities on 10 access policies to grant permission.
09:54
Now let's compare that against user assign managed identity.
09:58
So in this scenario, are simply after creates one user assign managed identity.
10:05
I can then associates that user assigned managed identity with my resources that are run in my court.
10:13
I can also simply give dishes assigned managed identity permission is an access policy into the information in the key votes.
10:22
It's the same scenario off my code makes a local meta data call to restrict talking,
10:30
which can then be used to access the information within the key votes.
10:35
But in this case, I've used a single user assigned managed identity on a single access policy, which means less management. Walk for me to do so you can see that use their sign, manage identity skills. Well, when you're talking about a scenario like this, let's do a quick review of what we've covered so far
10:54
with this cost an overview off azure key votes.
10:58
We also covered what a secret is, what keys and what its certificate is. As fast as your key vote is concerned,
11:05
we looked at the differences between the management plane on the data plain enough jerky vote on out that helps us to enforce the principal off this privilege.
11:16
We've done a view off Jules Service's integration that as your keyboard supports
11:22
and finally we've looked at azure key vote on managed identity

Up Next

AZ-301 Microsoft Azure Architect Design

This AZ-301 training covers the skills that are measured in the Microsoft Azure Architect Design certification exam. Learn strategies to plan for the exam, target your areas of study, and gain hands-on experience to prepare for the real world.

Instructed By

Instructor Profile Image
David Okeyode
Cloud Security Architect
Instructor