---
title: "Download a Keystore as its raw file"
method: GET
path: "/apiops/projects/{projectName}/keystores/{keystoreName}/export-file/"
tags: ["Keystore"]
---

# Download a Keystore as its raw file

`GET /apiops/projects/{projectName}/keystores/{keystoreName}/export-file/`

## Request

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

Downloads the keystore file itself (.jks / .p12 / .pfx) instead of an Apinizer export package, so it can be handed straight to a JVM, a web server or another tool. Without environmentName every environment's keystore is returned in one ZIP; with it, that single file is returned directly.

## Path parameters

- `projectName` string, required
- `keystoreName` string, required

## Query parameters

- `environmentName` string

## Response `200`

successful operation!

## Other responses

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

## Changes

- **2026-10-20** `d1a546deccf0`: 1 breaking
  - removed the media type `application/json` for the response with the status `200`
  - …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/:keystoreName/export-file/get.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)
