Azure / Azure/Azure-Functions

Environment variable MSI_ENDPOINT and IDENTITY_HEADER should be available to pre-build environment

Open
#2,610 0 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
PowerShell
Stars
1.1k
Forks
215
Avg merge
4h 2m
Merged PRs (30d)
1

Description

We are using a "PRE_BUILD_COMMAND" to customise the build environment for our Azure Function (Python on Linux)

The script need to access some external resources protected using EntraID-based authentication. It would be helpful if we could use the managed-identity in this process. To do so the pre-build script would need access to the environment variables MSI_ENDPOINT and IDENTITY_HEADER.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how PRE_BUILD_COMMAND is run for Python Azure Functions on Linux and where its pre-build environment is assembled. Verify whether MSI_ENDPOINT and IDENTITY_HEADER are available to that command, and consider the work done when the pre-build script can use both variables for Entra ID authentication.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, python
Domain
build-system, cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.