Skip to content

Add Entra ID service-to-service auth skill and prompt - #69

Merged
rmkr-dev merged 2 commits into
mainfrom
skillbook/entra-service-auth-guardrails
Oct 19, 2026
Merged

rmkr-dev merged 2 commits into
mainfrom
skillbook/entra-service-auth-guardrails

Conversation

@rmkr-dev

Copy link
Copy Markdown
Owner

Adds a Skillbook entry and a matching Promptbook entry for Microsoft Entra ID service-to-service auth in Spring Boot.

Skill: entra-id-spring-service-auth-guardrails

  • One audience per API (v2 tokens), pinned issuer/tenant, Application-only app roles with assignment required
  • roles → ROLE_, scp → SCOPE_, group object IDs mapped from config, group overage fails closed (or Graph lookup)
  • Service-only routes need the role and no scp, with an optional azp/appid allowlist
  • Callers use client_credentials with /.default through a cached authorized-client manager on a dedicated RestClient per downstream
  • Workload identity before certificates/secrets; downstream URLs (external and svc.cluster.local) come from ConfigMap with the audience unchanged; in-cluster calls still authenticate
  • Copilot / Claude Code / Codex placement notes and a SKILL.md stub

Prompt: wire-entra-service-to-service-auth

  • Receiver and caller fix-up with placeholders, a ranked findings list, a test matrix, and a role matrix + URL map in the output

Catalogs go to 34 skills / 34 prompts. node scripts/site-check.mjs passes locally.

@rmkr-dev
rmkr-dev merged commit 4f2bb78 into main Oct 19, 2026
1 check passed
@rmkr-dev
rmkr-dev deleted the skillbook/entra-service-auth-guardrails branch October 19, 2026 05:14
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