Azure / Azure/azure-functions-host

How do I get admin end point and master key when running in container

Open
#4,147 25 comments 3 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 12h
Merged PRs (30d)
38

Description

I'm running Azure function in container. I want to retrieve the master key and hit the admin endpoint for the function running in container. How do I do that?
#### Investigative information

Please provide the following:

- Function App version (1.0 or 2.0):2.0
- Function App name: N/A
- Function name(s) (as appropriate):N/A
- Invocation ID:N/A
- Region: Container

#### Repro steps

Provide the steps required to reproduce the problem:

1. Create a Azure function and create the docker file for the Azure function
2. Hos the docker container in Docker Desktop for windows CE
3. Access the admin end point. It is not accessible

#### Expected behavior

I should be able to access the and I should be able to retrieve the admin end point

#### Actual behavior

Provide a description of the actual behavior observed.

The Azure function admin endpoint is not accessible inside Docker container
#### Known workarounds
None

Contributor guide

Open the contributing guide

Research direction

Start with the Dockerfile and the running container setup, then investigate how the Azure Functions admin endpoint is exposed and how the master key is retrieved in this environment. Reproduce the request against the container and document the required access method, or confirm that the endpoint is unavailable in this hosting mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, docker
Domain
api, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.