azure-bootstrap-core

Configure Azure App Configuration and Key Vault loading with a 4-phase Python bootstrap.

1|Updated Aug 10, 2026
One-click install
npx skills add https://github.com/TheViziusGroup/vibe-engineering-skills --skill azure-bootstrap-core-theviziusgroup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-bootstrap-core
Source: https://github.com/TheViziusGroup/vibe-engineering-skills/tree/main/plugins/azure-bootstrap/skills/azure-bootstrap-core
Command: npx skills add https://github.com/TheViziusGroup/vibe-engineering-skills --skill azure-bootstrap-core-theviziusgroup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Azure Functions and container apps hit a circular dependency at startup: configuration loading needs logging to report progress, but Application Insights logging needs configuration to initialize. This Skill guides installation and use of the azure-bootstrap Python library, which breaks that cycle with a 4-phase bootstrap and loads App Configuration and Key Vault values into the environment. ## Core Features & Use Cases - 4-Phase Bootstrap: Console logging first, telemetry from environment, configuration load, then telemetry upgrade once the connection string arrives via config. - Configuration Precedence: Environment variables always win over cache, App Configuration, Key Vault, and defaults; load_to_environ never overwrites existing keys. - Extras Matrix: Opt-in pip extras for FastAPI, Service Bus, Sumo Logic, database, email, HTTP, DocumentDB, governance, AKS, and an azbootstrap scaffold CLI. - Use Case: In an Azure Functions app, call initialize_application() at startup so every App Configuration and Key Vault value (including auto-resolved Key Vault references) is available via os.getenv without manual secret plumbing. ## Quick Start Ask the AI to show how to install azure-bootstrap with the fastapi extra and initialize an Azure Functions app using initialize_application and get_bootstrap_logger.

Frequently Asked Questions about azure-bootstrap-core

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I install azure-bootstrap with optional extras?

Install azure-bootstrap from PyPI with pip install azure-bootstrap for the core, or add extras in brackets such as pip install 'azure-bootstrap[fastapi,servicebus]'. The 'all' extra aggregates every third-party dependency, while many extras are stdlib-only markers.

How do I load Azure App Configuration and Key Vault values into environment variables?

Call initialize_application() from azure_bootstrap, which runs the 4-phase bootstrap and loads all App Configuration and Key Vault values into os.environ. Existing environment variables are never overwritten, and Key Vault references in App Configuration are resolved automatically.

What Python version does azure-bootstrap require?

azure-bootstrap requires Python 3.11 or later and is distributed via PyPI under the MIT license. It is a pure Python package with no JavaScript or TypeScript distribution, so it cannot be installed via npm.

What is the configuration precedence order in azure-bootstrap?

Lookup order is environment variables first, then in-process cache, then Azure App Configuration with auto-resolved Key Vault references, then direct Key Vault, then default values. Local overrides set in os.environ or local.settings.json always win.

Why does Application Insights logging fail during app startup?

App Insights needs configuration to initialize, but configuration loading needs logging to report progress, creating a circular dependency. The library breaks this with four phases: console logging, telemetry from environment, configuration load, then telemetry upgrade.

Can I use azure-bootstrap from a Next.js or TypeScript app?

No, azure-bootstrap is a pure Python package with no JavaScript or TypeScript distribution. For TypeScript, the azure-bootstrap-typescript skill covers HTTP client integration with a Python backend and porting the patterns.