Skip to content

refactor(controlplane): authenticate with a fixed bearer token#169

Merged
mslipper merged 2 commits into
mainfrom
refactor/control-plane-bearer-token
Jun 1, 2026
Merged

refactor(controlplane): authenticate with a fixed bearer token#169
mslipper merged 2 commits into
mainfrom
refactor/control-plane-bearer-token

Conversation

@mslipper

@mslipper mslipper commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Replaces the control-plane enrollment + HMAC-SHA256 credential flow with a fixed bearer token. The token is supplied via --token / IRON_PROXY_TOKEN and sent as Authorization: Bearer <token> on every request. This removes the Credential type, registration, on-disk credential.json persistence, and the unused init command.

Also adds a new control_plane secret source that returns a static value delivered inline by the control plane over the authenticated sync channel (no backend fetch). It composes with the existing json_key extraction.

Note: this is the proxy-side client change only; it assumes /v1/proxy/sync now accepts the bearer header instead of the X-Iron-* HMAC headers, so the control plane needs the matching server-side change.

mslipper added 2 commits June 1, 2026 11:33
Replace the enrollment + HMAC-SHA256 credential flow with a fixed bearer
token supplied via --token / IRON_PROXY_TOKEN. Drops the Credential type,
registration, on-disk credential persistence, and the unused `init`
command.

Also add a `control_plane` secret source that returns a static `value`
delivered inline by the control plane over the authenticated sync channel.
@mslipper mslipper merged commit 0de6a1b into main Jun 1, 2026
7 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.

1 participant