---
title: "POST /cloudhsm/cloudhsms/{cloudhsm_resource_id}/clients"
method: POST
path: "/cloudhsm/cloudhsms/{cloudhsm_resource_id}/clients"
tags: ["cloudhsm"]
---

# POST /cloudhsm/cloudhsms/{cloudhsm_resource_id}/clients

`POST /cloudhsm/cloudhsms/{cloudhsm_resource_id}/clients`

## Request

- Base URL: `https://secure.sakura.ad.jp/cloud/zone/is1a/api/cloud/1.1`
- URL: `https://secure.sakura.ad.jp/cloud/zone/is1a/api/cloud/1.1/cloudhsm/cloudhsms/{cloudhsm_resource_id}/clients`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/sakura/apis/kms-secretmanager-cloudhsm-api/docs/cloudhsm/cloudhsms/:cloudhsm_resource_id/clients/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `cloudhsm_resource_id` string, required

## Request body

- WrappedCreateCloudHSMClientRequest
  - `Client` CreateCloudHSMClientRequest, required
    - `Name` string, required
    - `Certificate` string, required

## Response `201`

- WrappedCreateCloudHSMClient
  - `Client` CreateCloudHSMClient, required
    - `ID` string
    - `CreatedAt` string, iso8601
    - `ModifiedAt` string, iso8601
    - `Availability` 'precreate' | 'available' | 'discontinued': * `precreate` - 準備中 * `available` - 利用可能 * `discontinued` - 廃止
    - `Name` string, required
    - `Certificate` string, required
  - `is_ok` boolean, required

---

[API](https://skmtc.dev/sakura/apis/kms-secretmanager-cloudhsm-api.md) - [All operations](https://skmtc.dev/sakura/apis/kms-secretmanager-cloudhsm-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sakura/apis/kms-secretmanager-cloudhsm-api/revisions/9a535fabbdfa?raw)
