apply_secrets_to_file
Write selected secrets into a destination file as environment variables without returning their values. Optionally map secret names to custom keys for env-format output.
Instructions
Writes one or more secrets into dest_path without ever returning the value. key_names is an optional {name: key_in_file} map — without an entry, it defaults to the secret name upper-cased (e.g. 'db-pass' -> 'DB_PASS').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| names | Yes | ||
| format | No | env | |
| dest_path | Yes | ||
| key_names | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |