Time
4 hours 53 minutes
Difficulty
Beginner
CEU/CPE
5

Video Transcription

00:00
Miss Module, we're gonna talk about technologies that complement your use. A vault
00:07
has. She Corp console is a product used to manage service discovery
00:13
as well as monitoring and configuration. So think about having all these different micro services running. How are you going to keep a registry to track which machines which I P addresses the different services air running on, of course, getting guided and pointing to healthy instances of those different services
00:33
on do so, you're forwarded to the right location and then managing some configuration information about
00:38
different services. This is a thing, that concept. Thus it can be used to store secrets. But that's really not its main intent. In fact, the secrets themselves they don't get encrypted before their persisted to disk, and they're not
00:56
encrypted when put in transit.
00:59
Not to mention there's no auditing capability on the secrets that you may choose to storing console, but the to actually work well in tandem and particularly when you want to set up and build out a high availability vault environment where you have multiple vaults, servers and then consul is monitoring the health of those servers,
01:18
helping with data replication and persistence and storage
01:22
of the vault data.
01:23
Um, and and so it helps bulk being an expand ball to be highly scalable. Hi, Lary Fault tolerant Andi to our complementing each other in this series. We're not going to be going so far as to build out,
01:41
um, over bust, high availability. Instance, a vault.
01:45
But, um, if you want to do that, when you want to do that and you're really looking to deploy this primetime console is going to be a very nice complimentary application to help you do that.
02:00
What about configuration management tools? Answerable chef, puppet, thes air, The tools that are used to help configure your servers. Your machines run scripts, make sure everything is installed on on a cluster of machines and that they're all near identical in the way that they're they're built. This is the
02:20
one of the key four founding fathers. When it comes to the concept of infrastructure is code right?
02:24
Orchestrates a lot of the automation. One of the downsides of using these with regards to the bad practices that people may have is oftentimes the scripts themselves. When they're setting up a server, they will have the keys embedded in them or they will have secrets embedded them and in the actual scripts,
02:45
and you want to avoid doing that.
02:46
And, yes, these technologies have encryption capabilities.
02:52
Chef has data bags, Puppet has he era and so forth. But even those encryptions are there just a single secret encryption. So it's a really light level of encryption, not near the level of diligence that you're going to get with vault. But these are very complimentary. Vault has no business
03:10
in Salling and packages on a machine and setting up and making sure
03:15
the servers configured in the way that you want it to be. But it does very well at secrets so you can have your chef scripts. You're answerable scripts, actually retrieving the secrets from Vault using consul template. We're not going to get into the use case of setting that up,
03:34
but there's a great entry on the Hash Corp
03:37
blawg that talks about configuring chef and using consul template to pull secrets out of vaulted runtime so you can apply those secrets, retrieve them there, they're encrypted in transit. They come down to the machine that the chef's recipes air running on and and then you can apply the secrets on those servers.
03:58
Hardware security modules or HS EMS, the Zahra software and hardware combined type solution to really specialize in terms of storing encryption, storing the keys themselves, performing encryption operations right with a tandem of specialized hardware and very
04:16
optimized in tune software.
04:18
They manage it. If somebody wants to, physically gets access to the device, preventing them from breaking in, preventing them from all sorts of side channel attacks through through listening and trying to decode. A real high level of security has brought to the table with many of these devices meeting the Phipps 1 40 dash to
04:39
standard.
04:40
They can be cost prohibitive. So, depending on the size of your organization budget and just how tightly you want to keep track of your secrets, these may not be the option. You can, of course, by them, install them in your own dentist center and manage the physical access controls. But you can also lease
05:00
hs EMS from Amazon from hazard.
05:02
Just is is a bit of point of reference I was looking at How much does the Amazon cloud HSM cost? And you're looking at about a unfroze cost of about $5000. So maybe that's nothing. Maybe it's worth the money for you. Maybe you don't want to go in HSM route,
05:21
but they're very complimentary.
05:24
Um, when it comes to HSM is involved. In fact, Vault enterprise provides a lot of extensive HSM support for your proprietary things. So one of the things about vault itself is all the data, the configurations and parts
05:42
in pieces and in the secrets themselves.
05:44
They, of course, get encrypted not only in transit, but also when the data is at rest and all that encryption requires some master key to decrypt, and we'll get into that whole process on later models. But that master key itself
05:59
can be stored in these HSM. So you're really locking down and securing
06:03
the key to the kingdom, so to speak. And that process of applying the master key to decrypt all of this encrypted information that vault storing is referred to as unsealing so which you can realizes automated unsealing by pulling these master keys which are securely stored in an HSM,
06:23
um,
06:25
it also the enterprise version. You get Phipps key storage to provide functionality for critical security parameters through seal wrapping and an entropy augmentation. So the lot of encryption algorithms require random izing
06:43
of numbers to keep things.
06:45
And in that concept of entropy, you can use the HSM is themselves and their cryptographic implementations, and how they realize that entropy, which are just another level of advancement again you may not need to go this far. It just depends on how strong
07:04
the security needs are for what you're building.
07:08
If you're creating medical devices, defense things that can actually cause physical harm to people, and you want to lock that down, this is definitely worth exploring.
07:23
To recap what we learned in this module,
07:26
we looked at fault how it's complemented by Hash Corp. Consul for high availability hardware, security modules for secure storage, down to the hardware level and configuration management products like answerable, chef
07:40
and puppet.
07:47
Let's see how much you've absorbed from the first few modules of this training course.
07:53
Which of the following capabilities is vault well suited for
07:58
hit the pause button? If you want, I'm going to jump straight to the answers here. Well, let's walk through the different options.
08:05
Large binary objects? No, a tzar storage aws s three buckets even and blob storage types on certain relational databases. File systems, of course. These air things that you can use to store large binary objects. The vault is not for that, um,
08:24
managing sense of metal wrecked medical records. Yes, vault stores sensitive information, but it is not intended to host medical records and large quantities of private information. You can encrypt that. Put that in a database or some other store. And Vulcan definitely help you with the encryption.
08:41
It can definitely manage the keys that you used to perform that encryption.
08:45
What about securely storing key pairs for asymmetric encryption? Yes, definitely in the wheelhouse of vault, something that it does quite well. Orchestrating in scaling container based workloads, particularly in the cloud, right? No, this is not what vault does kubernetes
09:03
hash cortese of products called Nomad.
09:05
These air designed to provide those capabilities
09:09
persisting customer specific encryption keys Yes, vault right in his wheelhouse, authorizing access to secrets and keeping an access log another core capability that vault provides. So hopefully you got these right, and you said C E and F that wraps it up for this lesson. Look forward to seeing you back for the next lesson.

Up Next

Vault Fundamentals

Learn how HashiCorp Vault can improve your security posture when it comes to storing sensitive passwords, maintaining confidential keys, implementing encryption, and establishing robust access management.

Instructed By

Instructor Profile Image
James Leone
Cloud, IoT & DevSecOps at Abbott
Instructor