-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Amazon API Gateway now supports mutual TLS authentication #15220
Comments
S3 isn't really a private key management tool in AWS world, but ok, let it be optional access key protocol, we should support both KMS CMK which is filled with key material or CloudHSM, which is the most secure way on AWS to secure private keys as per my knowledge. |
@archenroot Currently the underlying AWS API only support trust stores in S3:
|
@ewbankkit - any estimation when initial support will be available with terraform release? we are currently driving whole infra via terraform but if this support is to late, we will falback to cloudformation for time being before it gets stabilized for prod use. Thx for any even very gross estimation... |
@archenroot We are currently having problems with the testing of the functionality with ACMPCA issued certificates: https://forums.aws.amazon.com/thread.jspa?threadID=328610&tstart=0. |
To anyone waiting for the Mutual TLS Authentication in Terraform. You could add the following as a post-action after your Terraform deployment. It will enable the Mutual TLS Authentication in your Custom Domain: |
godsend @albernazj93 |
@albernazj93 @oschvr rest api v2 api and then deploy https://docs.aws.amazon.com/apigateway/latest/developerguide/rest-api-disable-default-endpoint.html |
Just dropping a note to say that the API Gateway mTLS feature seems to work with self-signed certs/CAs now, it no longer appears to require AWS/ACM-issued certs, which appears to have been an issue a month or two back looking through the posts here - does that make it a bit easier to test/support this feature in Terraform? I'm talking about the trust store CA certs, that is, anyway... |
@keefmarshall Thanks for the note. I have reworked the 2 PRs' acceptance tests to better fit with existing tests and they are now in queue for review/merge. |
Support for mutual TLS authentication in the Support for disabling the execution API in the |
This has been released in version 3.24.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
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! |
Community Note
Description
New or Affected Resource(s)
aws_api_gateway_domain_name
aws_apigatewayv2_api
aws_apigatewayv2_domain_name
Potential Terraform Configuration
References
Announcement.
Blog post.
Developer Guide (HTTP APIs).
Developer Guide (REST APIs).
Requires AWS SDK v1.34.26:
The text was updated successfully, but these errors were encountered: