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

[Feature Request] API Gateway: Support for API Keys in Custom Authorizer Responses #4425

Closed
shalomvolchok opened this issue May 2, 2018 · 3 comments · Fixed by #4717
Closed
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/apigateway Issues and PRs that pertain to the apigateway service.
Milestone

Comments

@shalomvolchok
Copy link

In December, AWS announced the ability to provide the gateway api-key from a Lambda function. This allows for flexible options beyond only being able to set it with an x-api-key header.

I've been digging around to see if Terraform supports this, but pretty sure it doesn't yet. Seems like it would be here if it was: aws/resource_aws_api_gateway_rest_api.go

In the AWS UI it shows up under settings with two possible values. API Key Source: HEADER and AUTHORIZER. The feature works great for our needs and would be nice to be able to enable it with Terraform.

AWS announcement: https://aws.amazon.com/about-aws/whats-new/2017/12/amazon-api-gateway-supports-api-keys-in-custom-authorizer-responses/

@bflad bflad added enhancement Requests to existing resources that expand the functionality or scope. service/apigateway Issues and PRs that pertain to the apigateway service. labels May 12, 2018
@bflad bflad added this to the v1.22.0 milestone Jun 4, 2018
@bflad
Copy link
Contributor

bflad commented Jun 4, 2018

A new api_key_source argument on the aws_api_gateway_rest_api resource will be released with v1.22.0 of the AWS provider later this week 🎉

@bflad
Copy link
Contributor

bflad commented Jun 5, 2018

This has been released in version 1.22.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

@ghost
Copy link

ghost commented Apr 5, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Apr 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/apigateway Issues and PRs that pertain to the apigateway service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants