Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Setting/Creating Environment Variables within Azure Functions. #114

Open
ChethanGB opened this issue Nov 28, 2019 — with docs.microsoft.com · 1 comment
Open

Comments

Copy link

I have a question regarding caching of Environment Variables in Azure Functions.

We are creating environment variables in our code dynamically and using them.
Example:-
Environment.GetEnvironmentVariable("access.key", "auto generated long lived auth keys.")

We wanted to make sure that these environment variables are not cached in any of the azure file system.

Thanks,
Chethan


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@MaximRouiller
Copy link
Collaborator

Hi @ChethanGB

They are not cached. Once you change them through the portal, the environment variables are reset and the application is restarted to account for applications loading environment variables at load.

Globally, environment variables are stored (on Windows) in the registry.

Let me know if I can help more.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants