Skip to content

docs(identity): worked identity/auth examples + pluggable-auth ADR-016#315

Draft
theagenticguy wants to merge 1 commit into
mainfrom
docs/identity-auth-worked-examples
Draft

docs(identity): worked identity/auth examples + pluggable-auth ADR-016#315
theagenticguy wants to merge 1 commit into
mainfrom
docs/identity-auth-worked-examples

Conversation

@theagenticguy

Copy link
Copy Markdown
Contributor

Summary

Draft for review. Opened as a draft for @theagenticguy to review before it goes ready. Drafted by Bonk.

Two documentation artifacts on identity and authentication, docs + design only:

  1. docs/design/IDENTITY_AND_AUTH.md — worked examples that map ABCA's integration shapes onto the Amazon Bedrock AgentCore Identity primitives (workload identity, the token vault, the three outbound flows). Five worked use-cases, each with the wire-level flow:

    • A — user-initiated 3LO (GitHub PR assistant), USER_FEDERATION.
    • B — M2M scheduled job with no user, client_credentials under a manual workload identity.
    • C — OBO token exchange (Microsoft Graph), ON_BEHALF_OF_TOKEN_EXCHANGE, with the RFC 8693 vs RFC 7523 mapping and the delegation-vs-impersonation act-claim point.
    • D — ticket-label → async agent (Jira/Atlassian), with the principal-per-hop table, the "webhook authenticates the tenant, not the user" caveat, and the InvokeAgentRuntimeForUser IAM gate. This is the generalized shape of the GitHub-issue-label trigger discussed in the team channel.
    • E — raw boto3 without the @requires_access_token helper (ECS Fargate vs AgentCore Runtime, side by side).
    • Plus the Linear before/after, the seams table, the gotchas, the pricing surface, and the decision tree.
  2. docs/decisions/ADR-016-pluggable-identity-and-auth.md — the two-seam pluggable-auth decision: an OIDC-inbound descriptor (swap Cognito for Okta / Entra / Keycloak without handler changes) and an OAuth2-outbound resolver (unify the per-integration token resolvers behind one contract that selects USER_FEDERATION / M2M / OBO). AgentCore Identity sits behind the seam as one implementation, not the only path.

The ADR records the decision behind RFC #249. It is the credential-plane analog of ADR-014's provider-neutral VcsProvider seam.

In scope (this PR)

  • The worked-examples design doc and ADR-016, plus their generated Astro mirror pages (yarn run sync) and a one-line Architecture sidebar entry.
  • A cross-reference from SECURITY.md (the shared-PAT limitation) to the new design doc and ADR.

Out of scope (follow-up on #249)

No live AWS / GitHub / Cognito provisioning happens here — this is documentation.

Notes for review

Refs #249, #245, #215, #237. Related: PR #302 (Jira), ADR-014.

Add a worked-examples design doc (docs/design/IDENTITY_AND_AUTH.md) mapping
ABCA's integration shapes onto AgentCore Identity (workload identity, the
token vault, the three outbound flows), plus ADR-016 capturing the two-seam
pluggable-auth decision (OIDC-inbound descriptor + OAuth2-outbound resolver).

Docs + design only. The descriptor/resolver implementation code and the
RFC-249 Phase-0 spike are out of scope (follow-up on #249).

Drafted by Bonk.

Refs #249
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