5

I am trying to get the application settings values from azure function for python.

I used the below code to get the Data_AzureConnection value.

logging.info("OS Env")
logging.info("Env value")
test = os.environ["Data_AzureConnection"]
logging.info(test)

But I got below result

enter image description here

Why I am not able to see the Data_AzureConnection value?

Is there any way to get the values from azure function for python application settings? Please let me know if there is a solution.

0

1 Answer 1

4

It only shows Hidden Credential in the log, actually you can get it in the code by using os.environ["Data_AzureConnection"]. It returns the value in the reponse, see my test result below.

enter image description here

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

Comments

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.