Create a secret file
Mounts a new secret file into the application. Use this for config files a container needs on disk — service account JSON, .npmrc, certificates — that do not fit an environment variable. The contents are encrypted at rest and never returned by the API. The response carries a server-assigned name; use that name in every other secret file endpoint. The file reaches running containers on the next deployment.
Authorizations
Bearer token for authentication. Format: 'Bearer {token}'
Headers
Workspace ID (uses default workspace if not provided)
Path Parameters
Application UUID
Body
Create a secret file
Path the file is mounted at inside the container (e.g. /app/config/service-account.json). Must be unique within the application
File contents. Encrypted at rest and never returned by the API
Response
Create a secret file
Api_V1_Entities_SecretFile model

