Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon

Configure Authentication with HashiCorp Vault

As part of this lab, we will be required to create a policy, and a token, that can be used to authenticate against a vault server.

Google Cloud Platform icon

Path Info

Clock icon Intermediate
Clock icon 1h 0m
Clock icon Oct 23, 2020

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Unseal the Vault and Log in with the Root Token

    1. In the Vault Server, retrieve the vault keys.
    2. Unseal the vault.
    3. Log in with the Initial Root Token.
  2. Challenge

    Enable KV Secrets Engine and Write a Generic Test Secret

    1. Enable a kv secrets engine at the secrets-kv path.
    2. Write a secret to the secrets-kv path.
  3. Challenge

    Create a Policy That Gives Read Permissions to the KV Secrets Engine

    1. Create a policy file named my_token_policy.hcl.
    2. Populate the policy file.
    3. Write the policy.
  4. Challenge

    Create a Token, Test It Out, and Then Revoke It

    1. Create a token.
    2. Copy the client_token.
    3. Log in with the newly created token.
    4. Attempt to read the secret.
    5. Attempt to write a new secret.
    6. Log in with the Initial Root Token.
    7. Revoke the client_token.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans