Add or update secret file
render_add_or_update_secret_fileAdd or update a secret file for a service on Render by providing the service ID, file name, and content. Directly manage secret files set on the service.
Instructions
Add or update secret file. Add or update a particular secret file for a particular service. This only applies to secret files set directly on the service, not to secret files in a linked environment group. Calls PUT /services/{serviceId}/secret-files/{envVarKey} on the Render Public API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Request body. | |
| envVarKey | Yes | The file name of the secret file | |
| serviceId | Yes | The ID of the service |