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)
Metadata
Release files for httpie-kong-hmac 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| httpie-kong-hmac-0.0.6.tar.gz | 2.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| httpie_kong_hmac-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.6 kB
Release files / httpie-kong-hmac-0.0.6.tar.gz
| Download URL | httpie-kong-hmac-0.0.6.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2149122bddee2ec672f48d3b3ebb64c9720db608497b9c0f5f8d0458698abd26
|
|
BLAKE2b-256 checksum How to use checksums |
293080dc8e063352ae30a550966030ad381ee5073451e2d0792d55fa70f87791
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / httpie_kong_hmac-0.0.6-py3-none-any.whl
| Download URL | httpie_kong_hmac-0.0.6-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a8ad1c4a2cc931f54b06e131ebe687454e1f334c52389634ba4745f5686f8a3f
|
|
BLAKE2b-256 checksum How to use checksums |
bcf6f7a406cd9181cf38083a7ba8bce267bd0c82f72c7bbdab3769cf63cfd1fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|