---
title: "Create new fileset secret"
method: POST
path: "/v1/file-secrets"
tags: ["Serverless Containers"]
---

# Create new fileset secret

`POST /v1/file-secrets`

File secrets can be used as a secret mount storage

## Request body

- CreateFilesetSecretPublicApiDto
  - `name` string, required — Name of the files secret
  - `files` SecretFilePublicApiDto[], required — List of files to store in the secret
    - `file_name` string, required — Name of the file
    - `base64_content` string, required — Base64 encoded content of the file

## Response `201`

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.net/datacrunch/apis/verda-cloud-public-api.md) · [All operations](https://skmtc.net/datacrunch/apis/verda-cloud-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datacrunch/verda-cloud-public-api/revisions/0d66c7340876/schema)
