Fix incorrect Postman AWS auth key mapping and update test fixtures

This commit is contained in:
Gregory Schier
2025-10-29 07:08:02 -07:00
parent a42cba567c
commit 030e8b837e
2 changed files with 2 additions and 1 deletions

View File

@@ -273,7 +273,7 @@ function importAuth(rawAuth: unknown): Pick<HttpRequest, 'authentication' | 'aut
return {
authenticationType: 'awsv4',
authentication: {
accessKeyId: a.accessKeyId != null ? String(a.accessKeyId) : undefined,
accessKeyId: a.accessKey != null ? String(a.accessKey) : undefined,
secretAccessKey: a.secretKey != null ? String(a.secretKey) : undefined,
sessionToken: a.sessionToken != null ? String(a.sessionToken) : undefined,
region: a.region != null ? String(a.region) : undefined,

View File

@@ -248,6 +248,7 @@
"headers": [],
"authenticationType": "awsv4",
"authentication": {
"accessKeyId": "access",
"secretAccessKey": "secret",
"sessionToken": "session",
"region": "us-west-1",