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.

Source Distribution

httpie-escher-auth-0.1.0.tar.gz (2.3 kB view hashes)

Uploaded Source

Built Distribution

httpie_escher_auth-0.1.0-py2.7.egg (6.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page