File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
dsql/common/test/aws/sdk/kotlin/services/dsql Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ class DsqlAuthTokenGeneratorTest {
3636 assertContains(token, " peccy.dsql.us-east-1.on.aws?Action=DbConnect" )
3737 assertContains(token, " X-Amz-Credential=akid%2F20240827%2Fus-east-1%2Fdsql%2Faws4_request" )
3838 assertContains(token, " X-Amz-Expires=450" )
39+ assertContains(token, " X-Amz-SignedHeaders=host" )
3940
4041 // Token should not contain a scheme
4142 listOf (" http://" , " https://" ).forEach {
@@ -65,6 +66,7 @@ class DsqlAuthTokenGeneratorTest {
6566 assertContains(token, " peccy.dsql.us-east-1.on.aws?Action=DbConnectAdmin" )
6667 assertContains(token, " X-Amz-Credential=akid%2F20240827%2Fus-east-1%2Fdsql%2Faws4_request" )
6768 assertContains(token, " X-Amz-Expires=450" )
69+ assertContains(token, " X-Amz-SignedHeaders=host" )
6870
6971 // Token should not contain a scheme
7072 listOf (" http://" , " https://" ).forEach {
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ class RdsAuthTokenGeneratorTest {
4141 assertContains(token, " prod-instance.us-east-1.rds.amazonaws.com:3306?Action=connect&DBUser=peccy" )
4242 assertContains(token, " X-Amz-Credential=akid%2F20240827%2Fus-east-1%2Frds-db%2Faws4_request" )
4343 assertContains(token, " X-Amz-Expires=450" )
44+ assertContains(token, " X-Amz-SignedHeaders=host" )
4445
4546 // Token should not contain a scheme
4647 listOf (" http://" , " https://" ).forEach {
You can’t perform that action at this time.
0 commit comments