-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
47 changed files
with
407 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Configuring Transport Layer Security (TLS) | ||
|
||
By default, proxy from version 0.4.61 will connect to data source APIs using TLS 1.3. | ||
|
||
Prior to 0.4.61, the proxy should have negotiated to use 1.3 with all sources that supported it; | ||
but may have fallen back to 1.2 for some sources. | ||
|
||
It will no longer fall back; but you can configure the proxy to use TLS 1.2 for a given source by | ||
setting the `TLS_VERSION` environment variable on a proxy instance to `TLSv1.2`. As TLS 1.3 offers | ||
security and performance improvements, we recommend using it whenever possible. | ||
|
||
As of Sept 2024, we've confirmed that the following public APIs of various data sources support | ||
TLS 1.3, either through end-to-end proxy testing OR via openssl negotiation (see next section): | ||
- Google Workspace | ||
- Microsoft 365 (Microsoft Graph) | ||
- GitHub (cloud version) | ||
- Asana | ||
- Atlassian (JIRA, etc) | ||
- Slack | ||
- Zoom | ||
|
||
## Testing TLS 1.3 Support for a Source API | ||
|
||
To test TLS 1.3 support, you can use something like the following command (assuming you have | ||
`openssl` installed on a Mac): | ||
|
||
```shell | ||
openssl s_client -connect api.asana.com:443 -tls1_3 | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# example of setting up a custom domain for an API Gateway V2 via composition with Psoxy | ||
# this example is provided for informational purposes only, with no warranty; please refer to AWS | ||
# and Terraform documentation for the most up-to-date information | ||
|
||
# resource "aws_acm_certificate" "cert" { | ||
# domain_name = "example.com" | ||
# validation_method = "DNS" | ||
# | ||
# lifecycle { | ||
# create_before_destroy = true | ||
# } | ||
# } | ||
# | ||
# resource "aws_apigatewayv2_domain_name" "example" { | ||
# domain_name = "ws-api.example.com" | ||
# | ||
# domain_name_configuration { | ||
# certificate_arn = aws_acm_certificate.cert.arn | ||
# endpoint_type = "REGIONAL" | ||
# security_policy = "TLS_1_2" # this is a 'min version'; 'TLS_1_2' allows TLS v1.2 or TLS v1.3 in practice; see https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-custom-domain-tls-version.html | ||
# } | ||
# } | ||
# | ||
# # see https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/apigatewayv2_api_mapping | ||
# resource "aws_apigatewayv2_api_mapping" "example" { | ||
# api_id = module.psoxy.api_gateway_v2.id | ||
# domain_name = aws_apigatewayv2_domain_name.example.id | ||
# stage = module.psoxy.api_gateway_v2_stage.id | ||
# } | ||
# | ||
# resource "aws_route53_zone" "main" { | ||
# name = "example.com" | ||
# } | ||
# | ||
# resource "aws_route53_record" "main" { | ||
# name = aws_apigatewayv2_domain_name.example.domain_name | ||
# type = "A" | ||
# zone_id = aws_route53_zone.main.zone_id | ||
# | ||
# alias { | ||
# name = aws_apigatewayv2_domain_name.example.domain_name_configuration[0].target_domain_name | ||
# zone_id = aws_apigatewayv2_domain_name.example.domain_name_configuration[0].hosted_zone_id | ||
# evaluate_target_health = false | ||
# } | ||
# } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.