Skip to content
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

Update rules engine authSchemes validation #1990

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

kstich
Copy link
Contributor

@kstich kstich commented Sep 26, 2023

This commit fixes several issues with validating authSchemes properties in defined endpoints within an endpoints rule set. It now properly enforces the typing and uniqueness of names of schemes defined within an authSchemes property.

It also fixes several issues validating the presence and typing of properties configuring the sigv4, sigv4a, and "beta" schemes.

A specification has been added to clearly detail how clients should choose schemes, detail what properties of the above schemes will be validated, and explain how to add new validators.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@kstich kstich requested a review from a team as a code owner September 26, 2023 07:14
docs/Makefile Show resolved Hide resolved
This commit fixes several issues with validating authSchemes properties
in defined endpoints within an endpoints rule set. It now properly
enforces the typing and uniqueness of names of schemes defined within
an authSchemes property.

It also fixes several issues validating the presence and typing of
properties configuring the sigv4, sigv4a, and "beta" schemes.

A specification has been added to clearly detail how clients should
choose schemes, detail what properties of the above schemes will be
validated, and explain how to add new validators.
@kstich kstich force-pushed the rulesengine_authscheme_fixes branch from a5d3fb6 to 5ca49f5 Compare September 26, 2023 16:47
@kstich kstich merged commit 06f7a74 into smithy-lang:main Sep 27, 2023
10 checks passed
@kstich kstich deleted the rulesengine_authscheme_fixes branch September 27, 2023 21:13
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.

2 participants