'Environment variables in canisters (ICP)

how can I inject an env variable secret inside a main net deployed canister?

And also how is my secret protected against everyone else on the chain?

Thx



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source