Skip to content

ci: Use federated Google credentials for Schwab refresh - #109

Merged
Pigbibi merged 1 commit into
mainfrom
ci/schwab-refresh-oidc
Nov 9, 2026
Merged

Pigbibi merged 1 commit into
mainfrom
ci/schwab-refresh-oidc

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

AI assistance

Codex assisted with implementation and validation.

What changed

The scheduled and manual refresh job uses short-lived Google credentials from GitHub OIDC. Refresh is restricted to the default branch. Broker authentication, the destination and version retention are unchanged. The application still accepts legacy credentials from independent local callers.

How verified

  • Workflow source checks, actionlint and Node 20 syntax and credential-redaction tests passed.
  • Isolated GitHub OIDC run proved ADC could add, list and destroy versions of a synthetic secret. The same identity had none of those permissions on the production secret.
  • The temporary branch, secret and federation were removed.

Why

Remove the scheduled job's need for a long-lived Google service account key.

Risk

High. This changes credential acquisition for a scheduled broker-token refresh. The dedicated federation provider and GitHub variables have been configured and read back. The service account has no user-managed key or project-level role. It has add, list and destroy permissions only on the existing destination secret, and trusts the refresh workflow on the default branch for scheduled and manual events. Keep the old credential available for rollback until a successful natural refresh.

@Pigbibi Pigbibi added risk:high Protected paths require owner approval as determined by the risk gate. needs-owner-approval The owner must apply owner-approved before this high-risk pull request can merge. labels Nov 9, 2026
@Pigbibi
Pigbibi marked this pull request as ready for review November 9, 2026 20:13
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-09T20:15:03.846243Z 0371830 Draft marked ready
🔒 Security Review ✅ Completed 2026-11-09T20:18:33.912925Z 0371830 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Pigbibi Pigbibi added the agent-approved An agent cleared this high-risk change on the current head; not an owner confirmation label Nov 9, 2026
@Pigbibi
Pigbibi merged commit 50d6be9 into main Nov 9, 2026
17 of 22 checks passed
@Pigbibi
Pigbibi deleted the ci/schwab-refresh-oidc branch November 9, 2026 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-approved An agent cleared this high-risk change on the current head; not an owner confirmation needs-owner-approval The owner must apply owner-approved before this high-risk pull request can merge. risk:high Protected paths require owner approval as determined by the risk gate.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant