feat: add HTTP message signature signal to network-acl rules (EA only) - #1637
Open
bkiran6398 wants to merge 4 commits into
Open
feat: add HTTP message signature signal to network-acl rules (EA only)#1637bkiran6398 wants to merge 4 commits into
bkiran6398 wants to merge 4 commits into
Conversation
- Bump github.com/auth0/go-auth0 from v1.48.0 to v1.48.1-0.20260901104455-6d71a49e53f3, which adds the http_message_signature field to NetworkACLRuleMatch. - Lets the network-acl command reference HMAC signing keys against the released SDK instead of a local replace directive.
- Add the NetworkACLKeyAPIV3 interface exposing List over the v3 /keys/network-acls endpoint, wired into APIV3 via m.Keys.NetworkACLs. - Generate its gomock mock for unit tests. - Enables the network-acl command to list existing signing keys for the http_message_signature picker; key create/delete is deferred.
- Add the --signature-key-ids flag to network-acl create/update and a "Signature Keys" option in the interactive parameter picker, mapping the selected key ids into the rule's http_message_signature match/not_match. - Add pickNetworkACLSignatureKeys, a multi-select over the tenant's Network ACL keys (v3 client) that pre-selects the keys already on the rule; it errors when none exist, since keys cannot be created or typed manually. - Reject --signature-key-ids in non-interactive mode, directing users to set http_message_signature inside --rule. - Render SIGNATURE KEY IDS / NOT SIGNATURE KEY IDS in the ACL view and read current key ids back as update defaults. - Add prompt.AskMultiSelectWithDefault for pre-selected multi-select options. - Add unit tests and regenerate command docs. Signal is Early Access gated.
- Add read:network_acl_keys to RequiredScopes so an interactive `auth0 login` token can list Network ACL keys, which the network-acl signature-key picker needs. - Replace the local auth0StringPtr test helper with the existing auth0.String in the network-acl tests.
bkiran6398
force-pushed
the
DXCDT-2269/hmac-sign-signal-acl
branch
from
September 2, 2026 05:33
b399a06 to
4b8cea9
Compare
bkiran6398
marked this pull request as ready for review
September 2, 2026 05: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.
🔧 Changes
Adds support for the
http_message_signaturesignal on network ACL rules, letting a rule match (or not match) traffic by the HMAC signing key that signed the request. This is Early Access, gated behind thetenant_acl_hmac_signaturefeature flag.--signature-key-idsflag tonetwork-acl createandnetwork-acl update.Usage:
📚 References
🔬 Testing
match/not_match, extraction of current key ids into update defaults, and the display rows for both cases.make test-unit,make lint, andmake check-docspass.--ruleround-trips throughshow.📝 Checklist