Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Prepare Azure environments for new workloads—subscriptions, networking, identity, and landing zones
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
references/sdk/azure-appconfiguration-py.md
1# App Configuration — Python SDK Quick Reference23> Condensed from **azure-appconfiguration-py**. Full patterns (feature flags,4> snapshots, read-only settings, async client, labels)5> in the **azure-appconfiguration-py** plugin skill if installed.67## Install8pip install azure-appconfiguration azure-identity910## Quick Start1112> **Auth:** `DefaultAzureCredential` is for local development. See [auth-best-practices.md](../auth-best-practices.md) for production patterns.1314```python15from azure.appconfiguration import AzureAppConfigurationClient16from azure.identity import DefaultAzureCredential17client = AzureAppConfigurationClient(base_url="https://<name>.azconfig.io", credential=DefaultAzureCredential())18```1920## Best Practices21- Use labels for environment separation (dev, staging, prod)22- Use key prefixes for logical grouping (app:database:*, app:cache:*)23- Make production settings read-only to prevent accidental changes24- Create snapshots before deployments for rollback capability25- Use Entra ID instead of connection strings in production26- Refresh settings periodically in long-running applications27- Use feature flags for gradual rollouts and A/B testing28