Skip to content

docs: add authentication.md — canonical operational guide - #2208

Closed
Alan-Cha wants to merge 1 commit into
mainfrom
docs/authentication-guide
Closed

Alan-Cha wants to merge 1 commit into
mainfrom
docs/authentication-guide

Conversation

@Alan-Cha

Copy link
Copy Markdown
Member

Summary

Adds docs/authentication.md as the canonical operational guide for Keycloak authentication in Kagenti.

What it covers

  • Mode comparison table — client secrets (default) vs SPIFFE auth (recommended), with a clear statement that the two modes are independent
  • How SPIFFE auth works — JWT-SVID background, operator bootstrap job flow, per-reconcile operator auth, per-agent registration and AuthBridge token exchange — all with ASCII diagrams
  • Enabling SPIFFE auth — setup-kagenti.sh flags and manual Helm values
  • Using the default mode — client secrets, how provisioning works, how to revert from SPIFFE back to client secrets, break-glass manual sync
  • Verification commands — checking operator SPIFFE auth, agent SPIFFE IDs, direct token exchange test
  • Troubleshooting — common failures and their causes

Why a separate file

The existing spiffe-keycloak-auth.md (on feat/spiffe-auth-full branch) is a planning/tracking document — it lists PRs, remaining work checklists, and E2E test results. It is useful for development context but not as an install guide.

docs/authentication.md is audience-oriented: it tells operators what to do, not what was built. The planning doc can remain as internal reference.

Related

Assisted-By: Claude Code

…k auth

Consolidates SPIFFE auth and client-secret auth into a single how-to guide.
Covers:
- Overview of both modes (client secrets default, SPIFFE recommended)
- How SPIFFE authentication works end-to-end (operator + agent flows)
- Enabling SPIFFE auth via setup-kagenti.sh or manual Helm values
- Using and reverting the default client-secrets mode
- Verification commands for both modes
- Troubleshooting

Replaces the planning/tracking content in spiffe-keycloak-auth.md with
a stable operational reference.

Signed-off-by: Alan Cha <[email protected]>
Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Alan Cha <[email protected]>
@Alan-Cha

Copy link
Copy Markdown
Member Author

Superseded by #2211 which covers both client-secrets and SPIFFE auth with equal depth.

@Alan-Cha Alan-Cha closed this Jul 15, 2026
@github-project-automation github-project-automation Bot moved this from New/ToDo to Done in Rossoctl Issue Prioritization Jul 15, 2026
pdettori pushed a commit to evaline-ju/rossoctl that referenced this pull request Jul 15, 2026
…n.md

- Create docs/authentication.md covering both auth modes with equal depth:
  - Client secrets (default): admin credential flow, provisioning,
    break-glass sync, how-it-works diagram
  - SPIFFE auth (recommended): JWT-SVID/Keycloak mechanics, operator
    bootstrap job flow, agent flow, prerequisites, Helm values
  - Shared sections: verification commands for both modes, troubleshooting

- Simplify docs/install.md: replace the verbose
  'Keycloak Admin Credentials for Agent Namespaces' section with a
  two-sentence summary that links to authentication.md

- scripts/ocp/setup-kagenti.sh: remove orphaned KC_ADMIN_FLAGS block
  (keycloak.adminUsername / keycloak.adminPassword chart values do not
  exist in templates; the bootstrap Job reads credentials directly from
  the keycloak-initial-admin Secret)

Supersedes PR rossoctl#2155 and PR rossoctl#2208.

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Alan Cha <[email protected]>
@pdettori
pdettori deleted the docs/authentication-guide branch July 15, 2026 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant