Skip to main content

DigiRM plugin for HTTPie.

Project description

Authorization plugin (DigiRMAuth) to specify API keys in 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 (or prompt for them) as if they were user names and passwords.

$ https --auth-type=drm remotemanager.digi.com/ws/v1/devices/inventory

Compatibility

Attempts to recognize Digi Remote Manager API key authentication and falls back to basic auth if the key is not a Digi Remote Manager API key.

In the API key authentication scheme 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


Download files

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

Source Distribution

httpie_digirm_auth-0.3.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

httpie_digirm_auth-0.3.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file httpie_digirm_auth-0.3.0.tar.gz.

File metadata

  • Download URL: httpie_digirm_auth-0.3.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.11

File hashes

Hashes for httpie_digirm_auth-0.3.0.tar.gz
Algorithm Hash digest
SHA256 ac681f7274f0782d09af01007dc1273b8e9a2e63e87a10d5b7e286dfba9d3d5a
MD5 412063435ba822881b4480ee04cba16a
BLAKE2b-256 fb150f892bd23d7bbb2582b8e450df06c56a1fbb801a22b4d962d1da510cceea

See more details on using hashes here.

File details

Details for the file httpie_digirm_auth-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for httpie_digirm_auth-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 40517bc16b5214bb39a6d06376ef8bedf780e0a9ccd0cba03775fe3db26a0bba
MD5 0bbb00ffb9d26815493abb25a58818e0
BLAKE2b-256 87d416f3b09d82d1d9616a4df4d420c4a8f27bb1f5819fe8884230ba0e0ad94a

See more details on using hashes here.

Supported by

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