---
title: "Create Azure Key Vault Account"
method: POST
path: "/v0/azure-key-vault/accounts"
tags: ["Azure Key Vault Accounts"]
---

# Create Azure Key Vault Account

`POST /v0/azure-key-vault/accounts`

Create a new Azure Key Vault account connection for the organization.

## Request body

- AzureKeyVaultAccountPostRequest
  - `name` string — The name of the Azure Key Vault account connection
  - `tenant_id` string — The Azure AD (Microsoft Entra) tenant ID
  - `client_id` string — The Azure AD application (client) ID
  - `client_secret` string — The Azure AD application client secret
  - `description` string, nullable — An optional description of the account connection

## Response `201`

Account created successfully

- AzureKeyVaultAccountResource
  - `id` integer — The unique identifier of the account connection
  - `name` string — The name of the account connection
  - `description` string, nullable — An optional description
  - `tenant_id` string — The Azure AD tenant ID
  - `client_id` string — The Azure AD application (client) ID
  - `has_client_secret` boolean — Whether a client secret is configured (value never exposed)
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `400` — Validation error
- `401` — Unauthorized (missing or invalid API key)
- `403` — Forbidden

---

[API](https://skmtc.net/oneschema/apis/templates.md) · [All operations](https://skmtc.net/oneschema/apis/templates/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/oneschema/templates/revisions/40674aa6d4d9/schema)
