Secrets
Create a new secret. The value is encrypted before storage and will be mounted as a file at `/run/secrets/<KEY>` on the next deployment. The plaintext value is NOT returned — the response carries only metadata.
post/projects/{project_id}/secrets
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/projects/{project_id}/secrets
- Auth: none declared
Path parameters
project_idinteger required
Project ID
Request body
Response
Secret created
Changes
No recorded changes to this operation across all 53 revisions of this API.