-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: New endpoint auth type to create http message signatures for outbound requests according to RFC 9421 #1507
Merged
Conversation
This file contains 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
internal/rules/endpoint/authstrategy/http_message_signatures.go
Outdated
Show resolved
Hide resolved
internal/rules/endpoint/authstrategy/http_message_signatures.go
Outdated
Show resolved
Hide resolved
internal/rules/endpoint/authstrategy/http_message_signatures.go
Outdated
Show resolved
Hide resolved
internal/rules/endpoint/authstrategy/http_message_signatures.go
Outdated
Show resolved
Hide resolved
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1507 +/- ##
==========================================
+ Coverage 89.72% 89.81% +0.09%
==========================================
Files 270 271 +1
Lines 9012 9154 +142
==========================================
+ Hits 8086 8222 +136
- Misses 685 691 +6
Partials 241 241 ☔ View full report in Codecov by Sentry. |
dadrus
changed the title
feat: New auth type strategy to create http message signatures according to RFC 9421
feat: New endpoint auth type to create http message signatures according to RFC 9421 four outbound requests
May 31, 2024
dadrus
changed the title
feat: New endpoint auth type to create http message signatures according to RFC 9421 four outbound requests
feat: New endpoint auth type to create http message signatures for outbound requests according to RFC 9421
May 31, 2024
internal/rules/endpoint/authstrategy/http_message_signatures.go
Outdated
Show resolved
Hide resolved
internal/rules/endpoint/authstrategy/http_message_signatures.go
Outdated
Show resolved
Hide resolved
internal/rules/endpoint/authstrategy/http_message_signatures.go
Outdated
Show resolved
Hide resolved
internal/rules/endpoint/authstrategy/http_message_signatures.go
Outdated
Show resolved
Hide resolved
dadrus
changed the title
feat: New endpoint auth type to create http message signatures for outbound requests according to RFC 9421
wip: New endpoint auth type to create http message signatures for outbound requests according to RFC 9421
Jun 5, 2024
6 tasks
Work on this PR will continue as soon as #1534 is merged |
dadrus
changed the title
wip: New endpoint auth type to create http message signatures for outbound requests according to RFC 9421
feat: New endpoint auth type to create http message signatures for outbound requests according to RFC 9421
Sep 16, 2024
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.
Related issue(s)
closes #1493
Checklist
Description
This PR implements a new endpoint
auth
strategy namedhttp_message_signatures
which allows signing outbound requests according to RFC 9421 initiated by heimdall to other systems.To make use of this functionality, configure the relevant endpoint as shown below:
Following configuration options are supported:
When the auth strategy is executed, the resulting request will contain
Signature
andSignature-Input
headers similar to those shown below:Further related functionality:
secrets_reload_enabled
is set totrue
(global setting).