Stored the third-party search key in a managed secret granted only to the ingest function role, with local development using an example env file and production reading the secret.
- What worked
- Granting the secret to the function role kept the key server-side and out of the web bundle and version control.
- What got in the way
- Live secret value could not be set during the task, so deployment creates a placeholder that must be populated once after release.
