1.0.0 • Published 4 years ago

insomnia-plugin-request-signer v1.0.0

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

insomnia-plugin-request-signer

Custom request signer for Insomnia REST client.

Insomnia Request Signer Screenshot

How It Works

This plugin generates a verification hash that is used to sign requests. It is created from a public/private key pair, timestamp, endpoint, and parameter string using SHA512.

Insomnia Request Signer Screenshot

Requirements / Setup

Requests must include:

  • key - The public key.
  • time - The Unix timestamp. Set to time environment variable.
  • verification - The hash generated by this plugin.

Environment variables must include:

  • base_url - Base url without endpoint.
  • private_key - Your private key.
  • time - Set to built-in Unix Timestamp template tag. This is necessary to ensure that the timestamp used is identical for hash generation and the time parameter in the request. Alternatively, this value can be manually set as well as long as the value is valid and not 'expired'.

Insomnia Request Signer Screenshot