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.
Changed onpost/projects/{project_id}/secrets
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Path parameters
project_idinteger required
Project ID
Request body
Response
Secret created
Changes
- breaking
the
created_atresponse's property type changed fromintegertostring, and format fromint64todate-timefor status - breaking
the
updated_atresponse's property type changed fromintegertostring, and format fromint64todate-timefor status
- breaking
- info
the endpoint scheme security
bearer_authwas added to the API
- info