Skip to content

feat(runtime): add automatic credentials#6

Merged
Frank-svg-dev merged 2 commits into
mainfrom
code/platform-audit-remediation
Jul 21, 2026
Merged

feat(runtime): add automatic credentials#6
Frank-svg-dev merged 2 commits into
mainfrom
code/platform-audit-remediation

Conversation

@kinzhi

@kinzhi kinzhi commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add durable Runtime Node key generation, automatic credential enrollment, renewal, and TLS rotation
  • discover the Runtime origin and credential endpoint from the platform URL
  • make token-only discovery skip credential manager creation, CSR issuance, renewal, and client certificates
  • pin the configured Node selector on Runtime HTTP and WebSocket requests
  • fail closed when policy rediscovery changes the mTLS requirement

Security behavior

Token-only compatibility mode requires configured Node and Agent IDs. The Agent Token is the authentication factor; the Node ID is a server-validated identity selector. It cannot be used for zero-touch enrollment.

Validation

  • Python 3.12: pytest — 95 passed, 1 skipped
  • ruff check .
  • python -m build
  • Runtime contract drift check

@Frank-svg-dev
Frank-svg-dev marked this pull request as ready for review July 21, 2026 09:20
@Frank-svg-dev
Frank-svg-dev merged commit ac7da26 into main Jul 21, 2026
2 checks passed
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.

2 participants