Skip to main content

httpie-kong-hmac

HMAC auth plugin for HTTPie and Kong

It currently provides support for Kong Hmac

Installation

$ pip install httpie-kong-hmac

Usage

$ http --auth-type=kong-hmac --auth='client-key:client-secret' example.org

You can also use HTTPie sessions:

# Create session
$ http --session=logged-in --auth-type=kong-hmac --auth='client-key:client-secret' example.org

# Re-use auth
$ http --session=logged-in POST example.org hello=world

If you use requests:

from httpie_kong_hmac import KongHMAC
import requests

resp = requests.get('http://example.org',
             auth=KongHMAC('client-key','client-secret'),
        )
print(resp.status_code, resp.content)

Download files

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

Source Distribution

httpie-kong-hmac-0.0.6.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

httpie_kong_hmac-0.0.6-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file httpie-kong-hmac-0.0.6.tar.gz.

File metadata

  • Download URL: httpie-kong-hmac-0.0.6.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.7.4

File hashes

Hashes for httpie-kong-hmac-0.0.6.tar.gz
Algorithm Hash digest
SHA256 2149122bddee2ec672f48d3b3ebb64c9720db608497b9c0f5f8d0458698abd26
MD5 e4d29aea591692be6458d59499322e7e
BLAKE2b-256 293080dc8e063352ae30a550966030ad381ee5073451e2d0792d55fa70f87791

See more details on using hashes here.

File details

Details for the file httpie_kong_hmac-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: httpie_kong_hmac-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.7.4

File hashes

Hashes for httpie_kong_hmac-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 a8ad1c4a2cc931f54b06e131ebe687454e1f334c52389634ba4745f5686f8a3f
MD5 0036b7cb3e6192a5516bf509984eb750
BLAKE2b-256 bcf6f7a406cd9181cf38083a7ba8bce267bd0c82f72c7bbdab3769cf63cfd1fe

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page