I don't want to have sensitive information (api key, etc.) in wrangler.toml, so I am running a shell

I don't want to have sensitive information (api key, etc.) in wrangler.toml, so I am running a shell in the build command that dynamically creates wrangler.toml from the build variables and runs wrangler deploy using that wrangler.toml.

How does everyone protect their sensitive information?
Was this page helpful?