---
title: "The token create path is used to create new tokens."
method: POST
path: "/auth/token/create"
tags: ["auth"]
---

# The token create path is used to create new tokens.

`POST /auth/token/create`

## Request body

- TokenCreateRequest
  - `display_name` string — Name to associate with this token
  - `entity_alias` string — Name of the entity alias to associate with this token
  - `explicit_max_ttl` string — Explicit Max TTL of this token
  - `id` string — Value for the token
  - `metadata` object — Arbitrary key=value metadata to associate with the token
  - `no_default_policy` boolean — Do not include default policy for this token
  - `no_parent` boolean — Create the token with no parent
  - `num_uses` integer — Max number of uses for this token
  - `period` string — Renew period
  - `policies` string[] — List of policies for the token
  - `renewable` boolean — Allow token to be renewed past its initial TTL up to system/mount maximum TTL
  - `ttl` string — Time to live for this token
  - `type` string — Token type

## Response `200`

OK

---

[API](https://skmtc.net/lensesio/apis/hashicorp-vault-api.md) · [All operations](https://skmtc.net/lensesio/apis/hashicorp-vault-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lensesio/hashicorp-vault-api/revisions/bd8194de0697/schema)
