1

I have a time triggered function which would need to invoke another http triggered function in the same function app. I do not want to open the function as anonymous. I would want it to Auth based on function or admin key.

How do I get either master key or (better) function key in the time triggered function to cross call the http triggered function ?

1 Answer 1

2

The easiest way is to put the key into App Settings of the timed function, and then read it at runtime, e.g. from Environment.GetEnvironmentVariable.

Sign up to request clarification or add additional context in comments.

1 Comment

I was thinking, since time triggered function is also part of the same function app, it should at least be able to get hold of master key.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.