abstract-sigv4-signer
v0.1.0
Published
Sign AWS requests using SignV4 on platforms where javascript default Crypto APIs are not available (e.g. nifi ExecuteScript, Google Apps Scripts)
Downloads
2
Maintainers
Readme
Abstract Sigv4 Signer
This Abstract Sigv4 Signer was built to sign AWS API requests using SignV4 on platforms where javascript's default Crypto APIs are not available, but other crypto APIs with support for SHA256 and HMAC-SHA256 are available (e.g. in Apache Nifi ExecuteScript and Google Apps Scripts)
For nodejs or browser environments, there are better options to sign and make AWS API calls (e.g. AWS javascript SDK)
This library do not support query signing, only headers signing. Also, not all AWS services have been extensively tested.
Installation
$ npm install abstract-sigv4-signer
If you are not using TypeScript in Apps Scripts, you may use the abstract repository by removing type definitions from src/index.ts, converting the class to javascript class and copying it to Apps Scripts IDE