All skills
microsoft avatar

/azure-appconfiguration-py

@e19efc2
by microsoftmicrosoft/skills3.1k stars
351

Azure App Configuration SDK for Python. Use for centralized configuration management, feature flags, and dynamic settings. Triggers: "azure-appconfiguration", "AzureAppConfigurationClient", "feature flags", "configuration", "key-value settings".

Use this Skill: https://skilld.dev/gh/microsoft/skills/azure-appconfiguration-py

This session only. Nothing lands on disk.

referencesnon-hero-scenarios.md

≈406 tokens on demand. Your agent reads this file only when SKILL.md points to it.

azure-appconfiguration-py non-hero scenarios

These scenarios are intentionally separate from hero flows in SKILL.md. They cover secondary/advanced patterns typically used after the primary end-to-end path is working.

Snapshots

Create Snapshot

from azure.appconfiguration import ConfigurationSnapshot, ConfigurationSettingsFilter

snapshot = ConfigurationSnapshot(
    filters=[
        ConfigurationSettingsFilter(key="app:*", label="production")
    ]
)

created = client.begin_create_snapshot(
    name="v1-snapshot",
    snapshot=snapshot
).result()

List Snapshot Settings

settings = client.list_configuration_settings(
    snapshot_name="v1-snapshot"
)

Async Client

from azure.appconfiguration.aio import AzureAppConfigurationClient
from azure.identity.aio import DefaultAzureCredential

async def main():
    async with DefaultAzureCredential() as credential:
        async with AzureAppConfigurationClient(
            base_url=endpoint,
            credential=credential
        ) as client:
            setting = await client.get_configuration_setting(key="app:message")
            print(setting.value)

Client Operations

Operation Description
get_configuration_setting Get single setting
set_configuration_setting Create or update setting
delete_configuration_setting Delete setting
list_configuration_settings List with filters
set_read_only Lock/unlock setting
begin_create_snapshot Create point-in-time snapshot
list_snapshots List all snapshots

Source: SKILL.md on GitHub

1 warning15d4 checks · Risk SAFE
  • Gen Agent Trust Hub15d

    This skill provides a standard interface for managing Azure App Configuration and incorporates security best practices like context managers and managed identity authentication. It includes a consideration regarding the ingestion of external configuration data, which is inherent to its purpose.

  • Socket15d

    No alerts

  • Snyk15d

    Risk: LOW · No issues

  • Runlayer7mo

    2/2 files flagged

Signed by skilld at e19efc2. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 3 months ago
Other metadata
metadata
{
  "author": "Microsoft",
  "version": "1.0.0",
  "package": "azure-appconfiguration"
}

README badge

README badge for microsoft/skills/azure-appconfiguration-py