Skip to main content

EscherAuth plugin for HTTPie.

Project description

This HTTPie auth plugin implements Escher authentication for endpoints using Escher authentication with default settings.

Installation

Be sure that HTTPie is installed, and install this plugin:

$ pip install httpie-escher-auth

After installing, you will see the option escher-auth under --auth-type if you run $ http --help.

Example

$ http --auth-type=escher-auth --auth=escher_key:escher_secret https://api.example.com/users

The default Escher credential scope is “escher_request”. You can define the credential scope like this:

$ http --auth-type=escher-auth --auth=credential_scope/escher_key:escher_secret https://api.example.com/users

Check out HTTPie sessions if you would like to save authentication information between your requests.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for httpie-escher-auth, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size httpie_escher_auth-0.1.0-py2.7.egg (6.1 kB) File type Egg Python version 2.7 Upload date Hashes View
Filename, size httpie-escher-auth-0.1.0.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page