POST
Create a secret file

Authorizations

Authorization
string
header
required

Bearer token for authentication. Format: 'Bearer {token}'

Headers

X-Workspace-Id
string

Workspace ID (uses default workspace if not provided)

Path Parameters

uuid
string
required

Application UUID

Body

application/json

Create a secret file

filename
string
required

Path the file is mounted at inside the container (e.g. /app/config/service-account.json). Must be unique within the application

text
string
required

File contents. Encrypted at rest and never returned by the API

Response

Create a secret file

Api_V1_Entities_SecretFile model

name
string
required

Server-assigned identifier, unique across the platform. Use it in every other secret file endpoint

filename
string
required

Path the file is mounted at inside the container

created_at
string<date-time>
required

Creation timestamp

updated_at
string<date-time>
required

Last update timestamp