We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31f49e7 commit 59f3e26Copy full SHA for 59f3e26
test/unit/aws4.test.ts
@@ -58,7 +58,7 @@ describe('Verify AWS4 signature generation', () => {
58
expect(headers['X-Amz-Date']).to.equal('20251215T123456Z');
59
expect(headers['Authorization']).to.exist;
60
expect(headers['Authorization']).to.equal(
61
- 'AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20251215/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-mongodb-gs2-cb-flag;x-mongodb-server-nonce, Signature=bbcb06e2feb8651dced329789743ba283f92ef1302d34a7398cb1d35808a1a66'
+ 'AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20251215/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-mongodb-gs2-cb-flag;x-mongodb-server-nonce, Signature=7bfe0c6c8c0aa9f853eb10c5822ab42446ad87789e5b6e47a6fbd7a9bffc834a'
62
);
63
64
// Uncomment the following lines if you want to compare with the old aws4 library.
0 commit comments