-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes: - Connector: - `enable_sigv4_auth` environment variable has been added. If this environment variable is true, basic auth headers will be ignored and the connector will attempt to use local credentials. - SAM template: - `EnableSigV4Auth` parameter has been added, which sets authentication to `AWS_IAM` for the routes (`/write` and `/read`) and passes in the `enable_sigv4_auth` environment variable to the connector Lambda function with the value `true`. - Events have been removed from the Lambda function and replaced with routes to configure SigV4 authentication. - The `APIGateway` resource has been changed to an `AWS::ApiGatewayV2::Api` with protocol set to `HTTP`. This was done because using API Gateway resources (such as `AWS::ApiGatewayV2::Route` resources) on an `AWS::Serverless::HttpApi` resource has undefined behaviour. - Documentation: - `Launch (SigV4)` links have been added to the DEVELOPER_README, which set the `EnableSigV4Auth` parameter to `true`. - [x] Integration tests passed (`go test -v ./integration/`). - [x] Unit tests passed (`go test -tags=unit -cover -v ./timestream ./`). - [x] TLS tests passed (`go test -v ./integration/tls`). - [x] Correctness tests passed (`go test -v ./correctness`). - [x] Stack deployment tested with SigV4 enabled using the OpenTelemetry collector. - [x] Stack deployment tested with SigV4 disabled using Prometheus for reading and writing.
- Loading branch information
1 parent
7eb0cd5
commit 0c51013
Showing
5 changed files
with
139 additions
and
49 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
Oops, something went wrong.