Time
19 hours 58 minutes
Difficulty
Intermediate
CEU/CPE
9

Video Transcription

00:00
Welcome back. In this episode, we're gonna take a look at Azure Key vote.
00:04
Our objectives include understanding what azure key vault is and then taking a look at what we can do with it in a demo.
00:11
So first, what is azure key vault as your keep old is exactly like it sounds. It's a secure storage area for secrets, encryption keys, certificates, passwords or a P I keys.
00:22
Secrets stored in the vault are protected by either software or hardware security modules or H s EMS and our certified to Phipps 1 40 dash to Level two standards.
00:33
Bye centrally storing all the important and confidential pieces of information you can control how and when they're distributed. For example, developers no longer need to store credentials or security information inside the application, something like a database connection string.
00:49
Instead, the application can access the connection string from the Ki Volt, using your eyes.
00:54
Accessing the key vault requires completing authentication and authorization before the user or application can get access. Authentication has performed through Azure Active Directory with either an R back group or key vault policy.
01:07
Our back is used for management of the key vault, while cable access policies are used to access data inside the vault.
01:15
Azure Key Paul has a couple of key features we need to cover. First is monitor. You can monitor how and when keys and secrets are being accessed. You can enable logging in the key vault and then archive the logs to a storage account, stream it to an event hub. Orson. The logs to azure monitor
01:30
azure Kibo also has built in scalability so it can scale up to meet any usage spikes inside your organization.
01:38
The key ball also has replication, where you can replicate the data inside of it within the region and also to a secondary region for high availability and automatic fail over azure. Key bowl also allows for segregating applications secrets. You can create a ki volt per application and then restrict the secrets in the vault to specific applications or people.
01:59
As your ki Volt currently has two pricing tiers, they are standard and premium building Inside of standard and premium are build exact same way they're built per transaction or certificate operation. Primary differences premium enables you to use HSM protected keys,
02:15
whereas standard on Lee used software protected keys.
02:20
Let's jump out to the azure portal and take a look at creating an azure key vault, storing a secret in it and then retrieving that secret
02:28
back in the azure portal. Let's click on Create a Resource Search for Key Vault.
02:39
We'll choose a resource group.
02:42
I'll choose the existing identity Dash R G.
02:44
We'll give the key Volta name
02:47
will select a region gonna select East us.
02:52
And since I won't need HSM encryption, I'm just gonna select the standard pricing tier.
02:57
Let's go ahead and review and create
02:59
and create our key vault.
03:05
Let's go check out our resource.
03:07
One thing I didn't mention during the creation of the Ki Volt is the name we give. It has to be globally unique, much like we've ran into with our storage accounts or as Europe Service's
03:17
you could see her. D. N s name here has a suffix of dot vault dot azure dot net.
03:23
This is so applications have a your eye to make request against in order to retrieve stored keys and the key vault
03:30
under settings. Let's go down to secrets.
03:34
Let's go ahead and generate a new secret.
03:37
We're just going to choose a manual upload option.
03:39
We'll give our secret and name.
03:44
We'll give it a value.
03:49
And we also have options of setting activation dates or expiration dates. Or we could create the secret but not enable it right away. Let's go ahead and leave it at enabled.
03:59
Let's go and create our secret.
04:01
Now that we have our secrets stored in our ki Volt going to jump over to our azure cloud show, I'm going to see if I can retrieve it using power shell.
04:11
Here we are in the azure cloud shell and I'm going to use power shell to retrieve our secret that is stored in our azure revolt. Going to use the git ese Keeve old secret going to specify our vault name.
04:26
And he did specify the name of the secret that I want to extract.
04:32
And I'm going to get the secret value text.
04:35
There we have it. I just pulled back the secret that was stored in our key vault
04:41
so you could see here. This allows you to programmatically retrieve secrets from the key vault without actually storing it inside of your content.
04:49
For example, I might need this password inside of a script, so instead of storing the password inside the script, I could make this call out to the Ki Volt, save the password to variable and then use it inside script.
05:01
There's lots of other things that can be stored. This is just a small example of what you can use for the azure key fall. Let's jump back to the slides and wrap this up.
05:11
Coming up next, we're gonna take a look at data encryption and confidential compute. See you in the next episode.

Up Next

AZ-300: Microsoft Azure Architect Technologies

Azure Solution Architects are responsible for taking business requirements and turning them into solutions. This course provides an introduction into Azure, Microsoft’s cloud platform whilst preparing students to take the AZ-300 Microsoft Azure Architect Technologies certification.

Instructed By

Instructor Profile Image
Jeff Brown
Instructor