C
C#10mo ago
Iron

❔ Best way to store ENV Variable in IIS Hosted Blazor?

Hey so i am trying to add a env variable, a sort of API key, in IIS, i know i need to use configuration manager, but i cannot see one in IIS when i am connected to my hosting provider. Anyone know of any other ways i can add env variables on a published app? Or some other ways to store some keys, its a blazor wasm asp net hosted app.
2 Replies
Iron
Iron10mo ago
Since i havent figured this one out bump . For me it seems iis and Windows server is actually harder for me than coding Basically all i need to do is be able to store my api keys somewhere , so malicious users dont get them. I am satisfied with having them in the settings.json soon, but maybe that is not good ?
Accord
Accord10mo ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.