Skip to main content

MAuth plugin for HTTPie

Project description

HTTPie mauth

This is a plugin for the HTTPie command line request library that allows it to send mauth-authenticated requests.

To use this, you will need:

  • A MAuth App ID
  • A MAuth private key whose corresponding public key is registered with the MAuth server that the target service is using
  • A MAuth config file in a supported location, one of:
    • ~/.mauth_config.yml
    • ./config/mauth.yml
    • ./mauth.yml

The format of that file should be as follows:

development:
  app_uuid: a36c9238-c9c8-4de9-a385-07dfe6dc1fc4
  private_key_file: /Users/mgup/.mauth_key

You can then issue signed requests as follows:

http --auth-type mauth https://example.com

You can pass the -v option to see the outgoing header. Validating the signature of the response is not currently supported.

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_mauth-0.0.4.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

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

httpie_mauth-0.0.4-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file httpie_mauth-0.0.4.tar.gz.

File metadata

  • Download URL: httpie_mauth-0.0.4.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.11 Linux/4.19.104-microsoft-standard

File hashes

Hashes for httpie_mauth-0.0.4.tar.gz
Algorithm Hash digest
SHA256 e1913fa47ff0172d74a856f7e8e972fbd10e1d71a1e16c230536a77f7a80c96a
MD5 375513b3fe015384ccf8b98b131f2a0f
BLAKE2b-256 a9b5e78a21382c8a2bc4313bb1e9d088c9146694bbf20baac8def089cb073471

See more details on using hashes here.

File details

Details for the file httpie_mauth-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: httpie_mauth-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.11 Linux/4.19.104-microsoft-standard

File hashes

Hashes for httpie_mauth-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d249ddaf45b3b70aff1d611c89f599bb38a645584b79ca7aa2a1df26f0e12ed8
MD5 eb365707da58c0244b55474b6ff66f82
BLAKE2b-256 6d6e16681a9d2b06ba6ca806c99c7cb55e79326f7794f1cc722be3c9f18d80fb

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