:HIGH: feature/ARCBLOOD-4352 support CDN authorization via content key and bypass key [MEDIUM] - #18
Open
davidsuge-cube wants to merge 2 commits into
Conversation
The CDN in front of Storm content bundles now requires either an x-content-key or x-bypass-key header on every request. - ContentSettings gains an optional, mutable `contentKey` field (mirrors how apiBase/apiVersion are injected from the host app), which DefaultUpdateManager attaches as `x-content-key` on the runtime bundle/update download request. - StormExtension gains an optional `bypassKey` field (masked in toString() so it never leaks into build logs), which StormPlugin attaches as `x-bypass-key` on the build-time stormDownload... task's request - that task has no running app/device to attest via Firebase AppCheck, so it needs a static shared secret instead.
davidsuge-cube
marked this pull request as ready for review
August 11, 2026 14:46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What?
The CDN in front of Storm content bundles now requires either an
x-content-keyorx-bypass-keyheader on every request.ContentSettingsgains an optional, mutablecontentKeyfield (mirrors how apiBase/apiVersion are injected from the host app), whichDefaultUpdateManagerattaches asx-content-keyon the runtime bundle/update download request.StormExtensiongains an optionalbypassKeyfield, which StormPlugin attaches asx-bypass-keyon the build-time stormDownload.Why?
Screenshots / Screen Recordings
Accessibility
Testing
Anything Else?