Manage secrets correctly in this environment: decide whether a value belongs in Azure Key Vault runtime config, repo-local `.env` bootstrap, machine-local `~/.secrets`, or GitHub Actions; choose naming; and update the right files, workflows, and docs when adding or moving a secret.
Installation
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Manage secrets correctly in this environment: decide whether a value belongs in Azure Key Vault runtime config, repo-local `.env` bootstrap, machine-local `~/.secrets`, or GitHub Actions; choose naming; and update the right files, workflows, and docs when adding or moving a secret.
Secret Management
Overview
Use this skill to answer three questions:
Which lane owns this secret?
Which files, names, and validation steps must change?
How should the secret be documented so future agents do it the same way?
Prefer repo docs/reference updates over ad-hoc chat-only explanations.
Lanes
Runtime
Use for deployed application secrets.
Store the value in Azure Key Vault.
Prefer App Service Key Vault references instead of literal app settings.
If local repo development also needs the value, map it into that repo's generated .env from the same Key Vault secret.
Repo-Local
Use for secrets needed in one repo's local development workflow.
Keep the value canonical in Key Vault.
Map it into the repo's local bootstrap (keyvault_env_map.env or equivalent).
Keep .env.example as placeholder-only documentation.
Machine-Local Shared
Use for credentials shared across repos on one machine for operator tooling.
Keep the value canonical in Key Vault.
Sync it to ~/.secrets/<integration>/....
Source it from shell bootstrap only as a generated machine-local file.
Do not store secret values in ~/GitHub/agents, ~/.agents, or tracked shell config.
GitHub CI
Use only for CI bootstrap/auth or intentionally CI-only third-party credentials.
Azure identifiers belong in GitHub vars, not secrets.
Prefer repo or environment vars for deploy workflow Azure OIDC identifiers;
org-level vars can exist, but runtime app configuration should not depend on
GitHub org secrets.
Prefer Azure OIDC over long-lived Azure credential blobs.
If CI needs a real runtime secret, fetch it after Azure login instead of making GitHub the owner.