Skip to main content

DigiRM plugin for HTTPie.

Project description

DigiRMAuth auth plugin for HTTPie.

Installation

  • Clone this repository

$ httpie plugins install httpie-digirm-auth

You should now see digirm under --auth-type in $ http --help output.

Usage

$ https --auth-type=digirm --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 and api_key_secret in the ~/.netrc file as if they were user names and passwords.

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

Compatibility

As of version 0.1.0 of this library, only Digi Remote Manager API key authentication is supported.

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


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.1.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.1.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: httpie_digirm_auth-0.1.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.1.0.tar.gz
Algorithm Hash digest
SHA256 3db5bafd1382a9d71d00bddcf32f9a6f99f4c632982193bb4afa0cfeefcd1a7d
MD5 66bd876e5997525e7d27170eae33746c
BLAKE2b-256 4d4891d39a78408b3e0507e89b142fa5bc00659b047c08e11084dae9589a399a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for httpie_digirm_auth-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8873116c05c822f42130cb345f8fff88f6f5578ea0d4d8af5c89438aba36dd35
MD5 c387275c73b1df36d106746e563204c6
BLAKE2b-256 c85be3daf1bfa31bad40502976c11fe28accb305559301336e218ea8e8562740

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