---
title: "Create a Keystore"
method: POST
path: "/apiops/projects/{projectName}/keystores/"
tags: ["Keystore"]
---

# Create a Keystore

`POST /apiops/projects/{projectName}/keystores/`

## Request

- Base URL: `http://167.86.118.166:32080`
- URL: `http://167.86.118.166:32080/apiops/projects/{projectName}/keystores/`
- Auth: none declared
- TypeScript: <https://skmtc.dev/apinizer/apis/apinizer-management-apis/docs/apiops/projects/:projectName/keystores/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates a Keystore and deploys it to environments.

## Path parameters

- `projectName` string, required

## Request body

- KeystoreCreateDTO
  - `name` string
  - `description` string
  - `keyStoreEnvironmentList` KeystoreEnvironmentDTO[]
    - `environmentName` string
    - `alias` string
    - `keyStoreType` 'JKS' | 'PKCS12'

## Response `200`

successful operation!

- ApiOpsResponseKeystore
  - `status` 'SUCCESS' | 'FAILURE'
  - `resultMessage` string
  - `resultList` KeystoreManagementDTO[]
    - `id` string
    - `name` string
    - `description` string
    - `projectId` string
    - `keyStoreEnvironmentList` KeystoreEnvironmentDTO[]
      - `environmentName` string
      - `alias` string
      - `keyStoreType` 'JKS' | 'PKCS12'
  - `resultCount` integer

## Other responses

- `401`: not authorized for this operation!
- `500`: internal error!

## Changes

- **2026-10-20** `d1a546deccf0`: 1 breaking
  - request property `keyStoreEnvironmentList/items/keyStoreType` was restricted to a list of enum values
  - …this revision’s changelog is incomplete
- **2026-08-11** `9ae232e55479`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/apinizer/apis/apinizer-management-apis/changes/apiops/projects/:projectName/keystores/post.md)

---

[API](https://skmtc.dev/apinizer/apis/apinizer-management-apis.md) - [All operations](https://skmtc.dev/apinizer/apis/apinizer-management-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/apinizer/apis/apinizer-management-apis/revisions/e083046b24cd?raw)
