Skip to content

Commit

Permalink
Add section
Browse files Browse the repository at this point in the history
  • Loading branch information
robmonte committed Jun 21, 2024
1 parent 2482674 commit af3f5f2
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions website/content/docs/concepts/tokens.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,21 @@ about their differences, but it is useful to understand other token concepts
first. The features in the following sections all apply to service tokens, and
their applicability to batch tokens is discussed later.

### Token prefixes

Tokens have a specific prefix that indicate their type. As of Vault 1.10, this token
format was updated. The following table lists the prefix differences. This format
pattern and its change also apply for recovery tokens. After the prefix, a string of
24 or more randomly-generated characters is appended.

| Token Type | Vault 1.9.x or earlier | Vault 1.10 and later |
|-----------------|------------------------|----------------------|
| Service tokens | `s.<random>` | `hvs.<random>` |
| Batch tokens | `b.<random>` | `hvb.<random>` |
| Recovery tokens | `r.<random>` | `hvr.<random>` |

For example, a service token may look like `hvs.CvmS4c0DPTvHv5eJgXWMJg9r`.

## The token store

Often in documentation or in help channels, the "token store" is referenced.
Expand Down

0 comments on commit af3f5f2

Please sign in to comment.