Hush OAuth 2 plugin for the HTTPie command line HTTP client
Project description
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file httpie_hush-1.3.tar.gz.
File metadata
- Download URL: httpie_hush-1.3.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.12.3 Linux/6.14.0-37-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e395c579f58faf3e6e55396dbf4b2e73912e0f287bb8704c345e6179dfe515c
|
|
| MD5 |
ba51a3624c063c73b065d9eada51350a
|
|
| BLAKE2b-256 |
eb3091f61317859006f6e13185daa369a8b90ffd254fb13eaf300dc78bcc9619
|
File details
Details for the file httpie_hush-1.3-py3-none-any.whl.
File metadata
- Download URL: httpie_hush-1.3-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.12.3 Linux/6.14.0-37-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37ecf97ecf6d45eaa9666ebf9f3f0bcafadabb67d90d5f0d10a7c19605238609
|
|
| MD5 |
0d20c41f27847fcc2b540e490ee61a80
|
|
| BLAKE2b-256 |
5a436363a1931d91eabd9970310c70a9b170925aeacf9f13cf49944b5174ad5e
|