In this video, discover the setup of SSH one-time-passwords.
- [Narrator] I'll use Visual Studio Code,…to show you the files we're working with,…and interact with Vault,…in the SSH server, through the integrated terminal.…Open the exercises folder with Visual Studio Code,…and open the integrated terminal from the view menu.…Our first step will be to log in to Vault.…Get the root token,…and execute Vault login,…and paste in the root token,…and we're validated, and authenticated.…
Our next step is to enable the SSH secrets engine.…That's vault secrets enable ssh.…Now we're ready to write a role to the SSH secrets engine.…That's a write operation, so we'll use…vault write, and the path, ssh forward slash roles…forward slash admin, which is the name…of the role we're creating.…The parameters are key underscore type equals otp,…for the one-time password method,…default underscore user equals vaultuser.…
This is the name of the user that we use…to connect to the SSH server.…And now, cidr underscore list…is a range of addresses that we can use…to restrict Vault's connection to SSH servers.…
- What is Vault?
- Using the dev server
- Working with Vault secrets engines
- Adding policies to Vault
- Running and using Vault
- Configuring the database secrets engine
- Implementing Vault
- Integrating Jenkins with Vault
- Using the Vault API
Skill Level Beginner
1. Introduction to Vault
2. Getting Started with Vault
3. Running and Using Vault
4. Implementing Vault
5. Using the Vault API
Next steps with Vault1m 23s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.