---
title: "Setup Openbao"
method: POST
path: "/admin/openbao/setup"
tags: ["admin"]
---

# Setup Openbao

`POST /admin/openbao/setup`

## Request

- Base URL: `https://api.mengi.cloud` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mengi.cloud/admin/openbao/setup`
- Auth: none declared

Set up OpenBao secrets management.

This will:
1. Initialize OpenBao (if not already initialized)
2. Unseal OpenBao
3. Enable KV v2 secrets engine
4. Configure Kubernetes authentication
5. Create policies for services
6. Create Kubernetes auth roles

Returns unseal keys and root token for newly initialized instances.
IMPORTANT: Save these securely - they cannot be retrieved later!

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/mengi/apis/mengi-cloud.md) · [All operations](https://skmtc.dev/mengi/apis/mengi-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/mengi/apis/mengi-cloud/revisions/4ae9b375cdbb?raw)
