Skip to content

Platform: enroll workload identities into scoped organizations - #197

Closed
lukebuehler wants to merge 1 commit into
feat/platform-workload-federationfrom
feat/platform-organization-enrollment
Closed

lukebuehler wants to merge 1 commit into
feat/platform-workload-federationfrom
feat/platform-organization-enrollment

Conversation

@lukebuehler

Copy link
Copy Markdown
Contributor

Part of #195. Stacked on #196.

Add POST /api/v1/organizations/enroll for verified workload identities. A matching operator policy can create one shared organization, its Admin service user, the credential binding, and an audit record in a single transaction. A retry returns the existing organization ID. Enrollment counts against the rule until the organization is deleted, including after credential revocation.

The Platform contract, generated SDKs, deployment guide, and environment-variable reference include the new operation and configuration. CLI enrollment and the admin UI are follow-up work.

Verified duplicate requests, handle conflicts, and competition for the last rule slot against PostgreSQL. Also exercised enrollment in a disposable kind cluster with a projected ServiceAccount token and authenticated API-server key discovery, including a retry and subsequent service-user access.

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