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

Support API Gateway API key usage plans #605

Merged
merged 1 commit into from
Oct 20, 2020
Merged

Conversation

kstich
Copy link
Contributor

@kstich kstich commented Oct 16, 2020

This commit adds support for enabling API Gateway's API key usage
plans. A non-custom httpApiKeyAuth based authorizer on an operation
will now be directly set on every operation in the OpenAPI document,
even if it's the same as the service level authorizer.

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

@kstich kstich force-pushed the api_key_on_operations_apig branch from 68bfe46 to 62f10bd Compare October 19, 2020 22:48
This commit adds support for enabling API Gateway's API key usage
plans. An httpApiKeyAuth based authorizer on an operation will now
be directly set on every operation in the OpenAPI document, even if
it's the same as the service level authorizer.

This commit also updates the strategy for not setting a default
"x-amazon-apigateway-authtype" extension to an absence of the "type"
setting on the definition in the authorizers trait.
@kstich kstich force-pushed the api_key_on_operations_apig branch from 62f10bd to 822aaa6 Compare October 19, 2020 22:51
@kstich kstich requested a review from mtdowling October 20, 2020 00:29
@kstich kstich merged commit 70f6e9c into master Oct 20, 2020
@kstich kstich deleted the api_key_on_operations_apig branch October 20, 2020 19:03
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