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

Add support for mutual TLS authentication for regional APIs #505

Merged
merged 4 commits into from
Aug 9, 2022

Conversation

cjuega
Copy link

@cjuega cjuega commented Jun 22, 2022

Fixes #503

Description of Issue Fixed
AWS added support for mutual TLS authentication to API Gateway regional APIs. Current version of serverless-domain-manager doesn't support it. This PR aims to solve that issue.

Changes proposed in this pull request:

  • CustomDomain extended with two optional properties: tlsTruststoreUri and tlsTruststoreVersion. Whenever tlsTruststoreUri is given, the plugin now creates domain names with mutual TLS enabled.
  • tlsTruststoreUri must be an s3 uri. The plugin now checks whether that file exists or not. If the plugin hasn't access to S3 (which may happen for several reasons), then it assumes the file exists and continues without failing.

@sonarcloud
Copy link

sonarcloud bot commented Jun 24, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@rddimon rddimon merged commit ba057db into amplify-education:master Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable Mutual TLS authentication
2 participants