httpie-hush
Hush OAuth 2 plugin for the HTTPie <https://github.com/jkbr/httpie> command line HTTP client.
Installation
pipx install httpie
pipx inject httpie httpie-hush
You should now see hush under --auth-type in $ http --help output.
Setup
httpie-hush-setup
Configure Hush's auth plugin with your API Key credentials (saved in ~/.httpie/config.json).
Notes:
- If API Key ID is not provided in conf file it will be searched at
HTTPIE_HUSH_API_KEY_IDenvar - If API Key Secret is not provided in conf file it will be searched at
HTTPIE_HUSH_API_KEY_SECRETenvar - Manually inputted credentials supersede conf file and environment variables
Usage
http --auth-type=hush GET https://api.us.hush-security.com/v1/users
It's possible to use an effective org by passing the EORG envar:
EORG=hush http --auth-type=hush GET https://api.us.hush-security.com/v1/users
Release files for httpie-hush 1.3
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_hush-1.3.tar.gz | 6.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| httpie_hush-1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.4 kB
Release files / httpie_hush-1.3.tar.gz
| Download URL | httpie_hush-1.3.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9e395c579f58faf3e6e55396dbf4b2e73912e0f287bb8704c345e6179dfe515c
|
|
BLAKE2b-256 checksum How to use checksums |
eb3091f61317859006f6e13185daa369a8b90ffd254fb13eaf300dc78bcc9619
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.12.3 Linux/6.14.0-37-generic
|
Release files / httpie_hush-1.3-py3-none-any.whl
| Download URL | httpie_hush-1.3-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
37ecf97ecf6d45eaa9666ebf9f3f0bcafadabb67d90d5f0d10a7c19605238609
|
|
BLAKE2b-256 checksum How to use checksums |
5a436363a1931d91eabd9970310c70a9b170925aeacf9f13cf49944b5174ad5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.12.3 Linux/6.14.0-37-generic
|