(secret, datestamp, region)
| 56 | } |
| 57 | |
| 58 | async function getSigningKey(secret, datestamp, region) { |
| 59 | let key = await hmacSha256(`AWS4${secret}`, datestamp); |
| 60 | key = await hmacSha256(key, region); |
| 61 | key = await hmacSha256(key, 's3'); |
| 62 | return hmacSha256(key, 'aws4_request'); |
| 63 | } |
| 64 | |
| 65 | async function signS3Request({ |
| 66 | method, |
no test coverage detected