Chapter 3 of 9 · HashiCorp Vault Associate 003

Vault Tokens

Service and batch tokens, root tokens, accessors, TTL, orphan tokens and how to create tokens.

  • 3topics
  • 13 minfast track
  • 1diagrams and exhibits

Topics in this chapter

Take them in order, or jump to the one you need.

  1. 1Service and Batch TokensVault Associate (003): compare service and batch tokens, choose the right type for a use case, and create tokens with the right…4 min
  2. 2Root Tokens and Token AccessorsVault Associate (003): what root tokens are for, how to generate and revoke them, and what a token accessor can do: lookup…4 min
  3. 3Token TTL and Orphan TokensVault Associate (003): token TTL, max TTL and periodic tokens, how renewal is capped, parent and child revocation, and how orphan…Diagram5 min

About this chapter

What this chapter covers

A token is the credential Vault checks on every authenticated request. Whatever auth method you log in with, Vault hands back a token, and that token carries the policies and the lifetime.

This chapter covers the two token types, the special root token, the accessor that lets you manage a token without holding it, the time to live (TTL) rules, orphan tokens, and the commands that create tokens.

Questions are true or false, single-answer and multiple-answer ("Pick the 2 correct responses below") multiple choice, with a few short scenarios and the occasional token lookup output to read.

How the topics fit together

Create tokentype, policiesUse tokenTTL, renewalManage tokenaccessor, revokeEnd of lifeexpiry, parent revoked

Choosing a type decides which features a token has. Its TTL decides how long it lives, the accessor lets you manage it, and the parent and child relationship decides what is revoked with it.

  • Type questions ask which token type fits a use case, or which feature a batch token lacks.
  • Root questions ask when to use a root token and how to get a new one.
  • Accessor questions ask what an accessor can and cannot do.
  • TTL and orphan questions ask when a token expires and what survives a parent being revoked.
Exam tip

When a question shows token lookup output, read the prefix and the accessor field first. hvb. and an accessor of n/a mean a batch token, and hvs. means a service token.

How to use these pages

Each topic page has the same shape, so you can skim for what you need.

  • What it is: the idea in plain words.
  • How it works: the mechanism, with tables and examples.
  • What to remember for the exam: the facts to memorize and how questions are phrased.
  • Common mistakes: the classic traps.
  • Check yourself: three questions to test your understanding.

Ready for more practice?

The full HashiCorp Vault Associate 003 question bank has 600 questions, with timed practice exams and an explanation for every answer.

This study guide is independent and is not affiliated with, endorsed by, or sponsored by HashiCorp. Vendor names, certification names and exam codes are trademarks of their respective owners and are used for identification only.