DigiRM plugin for HTTPie.
Project description
DigiRMAuth auth plugin for HTTPie.
Installation
$ httpie plugins install httpie-digirm-auth
# OR
$ pip install httpie-digirm-auth
You should now see:
httpie-digirm-auth plugin in the httpie plugins list command
drm under --auth-type in http --help output.
Usage
$ https --auth-type=drm --auth='api-key-id:api-key-secret' \
remotemanager.digi.com/ws/v1/devices/inventory
You can omit the --auth parameter and specify the API key ID and secret in the ~/.netrc file as if they were user names and passwords.
$ https --auth-type=drm remotemanager.digi.com/ws/v1/devices/inventory
Compatibility
Currently only Digi Remote Manager API key authentication is supported. To use basic auth, simply use the built-in HTTPie basic auth plugin.
In that authentication schema the API key ID and API key secret are used in the X-API-KEY-ID and X-API-KEY-SECRET headers respectively.
Project details
Release history Release notifications | RSS feed
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_digirm_auth-0.2.0.tar.gz.
File metadata
- Download URL: httpie_digirm_auth-0.2.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea89b1e358fce5f6ae10514da0490c4f290b15cb8114f1fbd78578c2a8eba1bf
|
|
| MD5 |
25c41feacf77f289afd6bb0b290ead55
|
|
| BLAKE2b-256 |
93f5a24e6769410cdfd178b6811a0826aceda783058524ff85497919299afafb
|
File details
Details for the file httpie_digirm_auth-0.2.0-py3-none-any.whl.
File metadata
- Download URL: httpie_digirm_auth-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
448372c528f9d1ea04974f3bc9d99d9c02e0c72d3021770139ba691bfe9be084
|
|
| MD5 |
8182b2ee1dfd51ab5a0ae5b3fc511ef1
|
|
| BLAKE2b-256 |
f8de1abf29f215ea6d7d76b0c0c439aacbe57394cf7cd972f6f9ff42e554af51
|