docs(identity): worked identity/auth examples + pluggable-auth ADR-016#315
Draft
theagenticguy wants to merge 1 commit into
Draft
docs(identity): worked identity/auth examples + pluggable-auth ADR-016#315theagenticguy wants to merge 1 commit into
theagenticguy wants to merge 1 commit into
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two documentation artifacts on identity and authentication, docs + design only:
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:USER_FEDERATION.client_credentialsunder a manual workload identity.ON_BEHALF_OF_TOKEN_EXCHANGE, with the RFC 8693 vs RFC 7523 mapping and the delegation-vs-impersonationact-claim point.InvokeAgentRuntimeForUserIAM gate. This is the generalized shape of the GitHub-issue-label trigger discussed in the team channel.@requires_access_tokenhelper (ECS Fargate vs AgentCore Runtime, side by side).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 selectsUSER_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
VcsProviderseam.In scope (this PR)
yarn run sync) and a one-line Architecture sidebar entry.SECURITY.md(the shared-PAT limitation) to the new design doc and ADR.Out of scope (follow-up on #249)
USER_FEDERATION/ OBO against the live service, record go/no-go).No live AWS / GitHub / Cognito provisioning happens here — this is documentation.
Notes for review
docs/decisions/README.md); if a lower number frees before merge, renumber and coordinate with feat(jira): Jira Cloud integration -- parity with Linear (#288) #302 and the governance: define security & quality finding triage process (candidate ADR-014); #276 = first CodeQL instance #277 ADR-014 governance discussion.LinearOauth2in thecredentialProviderVendorenum (checked against thebedrock-agentcore-controlservice model, API version 2023-06-05, and the publicCreateOauth2CredentialProviderAPI reference — zero drift across all 25 enum values). Linear is wired asCustomOauth2, matching theactor=appflow the shippedlinear-oauth-resolver.tsalready runs.docs.ymlrunsyarn run build(=npm run sync && astro build), and the sidebar entry needs its generated page to passastro check.Refs #249, #245, #215, #237. Related: PR #302 (Jira), ADR-014.