# aws-signing-utils

> Utility methods for generating AWS Signature Version 4 URLs. Works fine with react-native!

Latest version **1.0.3** (published 2017-04-12) · ISC license · 0 weekly downloads

## Install

```sh
npm install aws-signing-utils
pnpm add aws-signing-utils
yarn add aws-signing-utils
bun add aws-signing-utils
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2017-04-12 |
| First published | 2017-04-10 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Slawek Kolodziej |
| Maintainers | slawekkolodziej |
| Keywords | aws, aws-sign, aws-signature-v4, react-native |

## Links

- npm: https://www.npmjs.com/package/aws-signing-utils
- Repository: https://github.com/slawekkolodziej/aws-signing-utils
- Homepage: https://github.com/slawekkolodziej/aws-signing-utils#readme
- Issues: https://github.com/slawekkolodziej/aws-signing-utils/issues
- npm.io page: https://npm.io/package/aws-signing-utils

## Dependencies (2)

- [moment](https://npm.io/package/moment.md) ^2.18.1
- [crypto-js](https://npm.io/package/crypto-js.md) ^3.1.9-1

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2017-04-12
- 1.0.2 — 2017-04-10
- 1.0.1 — 2017-04-10
- 1.0.0 — 2017-04-10

## README

# AWS Signing utils

Utility methods for generating AWS Signature Version 4 URLs. Works fine with react-native!

Usage:

```
import { getSignedUrl } from 'aws-signing-utils';
import AWSConfig from './my-aws-config.json';

// Connecting to IoT
const clientUrl = getSignedUrl({
  method: 'GET',
  protocol: 'wss',
  canonicalUri: '/mqtt',
  service: 'iotdevicegateway',
  region: AWSConfig.region,
  secretKey: AWSConfig.secretKey,
  accessKey: AWSConfig.accessKey,
  sessionKey: AWSConfig.sessionKey, // you can skip this if you don't use sessionKey
  host: AWSConfig.iotEndpoint,
});

new Paho.MQTT.Client(clientUrl, AWSConfig.mqttTopic);
```

---
_Source: https://npm.io/package/aws-signing-utils · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
