-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build SigningConfig from AuthScheme for each request (#428)
* Add default signing config for each request Signed-off-by: Ankit Saurabh <sauraank@amazon.co.uk> * Build SigningConfig from AuthScheme Use the AuthScheme obtained from the EndpointResolver to build the SigningConfig for each request. Also extend the initializer for SigningConfig to accept the additional parameters: service name, signing algorithm, and the use_double_uri_encode flag. The AuthScheme will now validate the `scheme_name` field (i.e. signing algorithm) on parsing and store it as a `SigningAlgorithm`. Signed-off-by: Alessandro Passaro <alexpax@amazon.co.uk> * Log auth_scheme Signed-off-by: Alessandro Passaro <alexpax@amazon.co.uk> * Parse signingRegionSet if signingRegion is not present Signed-off-by: Alessandro Passaro <alexpax@amazon.co.uk> * Make SigningConfig not Clone Signed-off-by: Alessandro Passaro <alexpax@amazon.co.uk> * Fix order of error fields Signed-off-by: James Bornholt <bornholt@amazon.com> --------- Signed-off-by: Ankit Saurabh <sauraank@amazon.co.uk> Signed-off-by: Alessandro Passaro <alexpax@amazon.co.uk> Signed-off-by: James Bornholt <bornholt@amazon.com> Co-authored-by: Ankit Saurabh <sauraank@amazon.co.uk> Co-authored-by: James Bornholt <bornholt@amazon.com>
- Loading branch information
1 parent
00ecc60
commit 59f2ebb
Showing
5 changed files
with
114 additions
and
64 deletions.
There are no files selected for viewing
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
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
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
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
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