hands-on lab

Configuring Vault to Use LDAP Authentication

Intermediate
45m
369
4.8/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.
Lab description

Lab Overview

HashiCorp Vault is a modern, multi-cloud-friendly solution for managing secrets at scale. To ease adoption of Vault into your organization, Vault provides LDAP authentication. In this Lab, you will learn how to configure Vault to using an organization's LDAP identities and groups for authentication without duplicating usernames, passwords, or memberships. You will create access policies that map to LDAP groups to seamlessly authorize LDAP users in Vault.

Lab Objectives

Upon completion of this Lab, you will be able to:

  • Install Vault on Linux systems
  • Enable and configure LDAP authentication in Vault
  • Create access policies that map to LDAP groups
  • Authenticate LDAP users using the Vault CLI

Lab Prerequisites

You should be familiar with:

  • Vault basics
  • LDAP directory and schema knowledge is beneficial, but not required

 

Updates

April 25th, 2023 - Resolved an issue that caused the lab to fail to set up on rare occasions

December 8th, 2022 - Added check to validate lab progression

January 10th, 2019 - Added a validation Lab Step to check the work you perform in the Lab

Environment before
Environment after
About the author
Avatar
Logan Rakai
Lead Content Developer - Labs
Students
212,303
Labs
223
Courses
9
Learning paths
55

Logan has been involved in software development and research since 2007 and has been in the cloud since 2012. He is an AWS Certified DevOps Engineer - Professional, AWS Certified Solutions Architect - Professional, Microsoft Certified Azure Solutions Architect Expert, MCSE: Cloud Platform and Infrastructure, Google Cloud Certified Associate Cloud Engineer, Certified Kubernetes Security Specialist (CKS), Certified Kubernetes Administrator (CKA), Certified Kubernetes Application Developer (CKAD), and Certified OpenStack Administrator (COA). He earned his Ph.D. studying design automation and enjoys all things tech.

LinkedIn, Twitter, GitHub

Covered topics
Lab steps
Logging In to the Amazon Web Services Console
Opening the AWS Cloud9 IDE
Installing HashiCorp Vault
Starting the Vault Sever in Development Mode
Understanding the LDAP Directory
Creating Vault Policies for the Organization
Configuring Vault LDAP Authentication
Testing the LDAP Authentication and Access Policies