Skip to content

feat(core): Azure support via az CLI + skills (multi-cloud) - #51

Merged
AhmadHammad21 merged 1 commit into
mainfrom
refactor/monorepo-apps-layout
May 27, 2026
Merged

AhmadHammad21 merged 1 commit into
mainfrom
refactor/monorepo-apps-layout

Conversation

@AhmadHammad21

Copy link
Copy Markdown
Owner

Azure is CLI-first: the agent investigates Azure through the bash az CLI (+ kubectl for AKS) and runbook skills, rather than structured SDK tools.

  • bash_tool: allowlist read-only az verbs; inject the org's Azure service-principal creds into an isolated, cached AZURE_CONFIG_DIR (+ kubectl for AKS), failing closed. Cross-provider calls are denied (an Azure org can't run aws, and vice-versa).
  • providers/azure/credentials.py: per-org az login into an isolated config dir + verify_service_principal (azure-identity). Reuses the existing cloud-account contextvar.
  • aws/credentials.resolve_session() now fails closed for non-AWS accounts (was leaking the platform base creds to non-AWS orgs).
  • prompts: provider-neutral system prompt documenting the az surface + the AKS path.
  • 4 Azure skills (aks-debugging, app-service-errors, monitor-kql, vm-diagnostics).
  • azure-identity dependency. Tests: az allow/block, az injection, cross-provider deny.

Azure is CLI-first: the agent investigates Azure through the bash `az` CLI (+ kubectl
for AKS) and runbook skills, rather than structured SDK tools.

- bash_tool: allowlist read-only `az` verbs; inject the org's Azure service-principal
  creds into an isolated, cached AZURE_CONFIG_DIR (+ kubectl for AKS), failing closed.
  Cross-provider calls are denied (an Azure org can't run `aws`, and vice-versa).
- providers/azure/credentials.py: per-org `az login` into an isolated config dir +
  verify_service_principal (azure-identity). Reuses the existing cloud-account contextvar.
- aws/credentials.resolve_session() now fails closed for non-AWS accounts (was leaking
  the platform base creds to non-AWS orgs).
- prompts: provider-neutral system prompt documenting the `az` surface + the AKS path.
- 4 Azure skills (aks-debugging, app-service-errors, monitor-kql, vm-diagnostics).
- azure-identity dependency. Tests: az allow/block, az injection, cross-provider deny.
@AhmadHammad21
AhmadHammad21 merged commit 45f10a9 into main May 27, 2026
1 check passed
@AhmadHammad21
AhmadHammad21 deleted the refactor/monorepo-apps-layout branch May 27, 2026 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant