---
title: "Create a new Vault"
method: POST
path: "/vaults"
tags: ["Vaults"]
---

# Create a new Vault

`POST /vaults`

Create a new Vault

## Request body

- Vault
  - `config` object — The configuration properties for the Vault which can be found on the vaults' documentation page.
  - `created_at` integer — Unix epoch when the resource was created.
  - `description` string — The description of the Vault entity.
  - `id` string
  - `name` string — The name of the Vault that's going to be added. Currently, the Vault implementation must be installed in every Kong instance.
  - `prefix` string — The unique prefix (or identifier) for this Vault configuration. The prefix is used to load the right Vault configuration and implementation when referencing secrets with the other entities.
  - `tags` string[] — An optional set of strings associated with the Vault for grouping and filtering.
  - `updated_at` integer — Unix epoch when the resource was last updated.

## Response `201`

Successfully created Vault

- Vault
  - `config` object — The configuration properties for the Vault which can be found on the vaults' documentation page.
  - `created_at` integer — Unix epoch when the resource was created.
  - `description` string — The description of the Vault entity.
  - `id` string
  - `name` string — The name of the Vault that's going to be added. Currently, the Vault implementation must be installed in every Kong instance.
  - `prefix` string — The unique prefix (or identifier) for this Vault configuration. The prefix is used to load the right Vault configuration and implementation when referencing secrets with the other entities.
  - `tags` string[] — An optional set of strings associated with the Vault for grouping and filtering.
  - `updated_at` integer — Unix epoch when the resource was last updated.

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.dev/kong/apis/kong-enterprise-admin-api.md) · [All operations](https://skmtc.dev/kong/apis/kong-enterprise-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kong/kong-enterprise-admin-api/revisions/5bd52189d290/schema)
