Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Prepare applications for Azure deployment by generating infrastructure code, Dockerfiles, and config files.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
references/sdk/azure-appconfiguration-ts.md
1# App Configuration — TypeScript SDK Quick Reference23> Condensed from **azure-appconfiguration-ts**. Full patterns (provider,4> dynamic refresh, Key Vault references, feature flags, snapshots)5> in the **azure-appconfiguration-ts** plugin skill if installed.67## Install8npm install @azure/app-configuration @azure/identity910## Quick Start1112> **Auth:** `DefaultAzureCredential` is for local development. See [auth-best-practices.md](../auth-best-practices.md) for production patterns.1314```typescript15import { AppConfigurationClient } from "@azure/app-configuration";16import { DefaultAzureCredential } from "@azure/identity";17const client = new AppConfigurationClient(process.env.AZURE_APPCONFIG_ENDPOINT!, new DefaultAzureCredential());18```1920## Best Practices21- Use provider for apps — @azure/app-configuration-provider for runtime config22- Use low-level for management — @azure/app-configuration for CRUD operations23- Enable refresh for dynamic configuration updates24- Use labels to separate configurations by environment25- Use snapshots for immutable release configurations26- Sentinel pattern — use a sentinel key to trigger full refresh27- RBAC roles — App Configuration Data Reader for read-only access28