Skip to main content

GSSAPI authentication plug-in for HTTPie

Project description

GSSAPI authentication plug-in for HTTPie.

This plug-in uses the requests-gssapi library, which is a more-modern replacement of the old requests-kerberos library.


$ pip install httpie-gssapi

This will add the gssapi authentication method under --auth-type in the $ http --help output.


Ensure you have a valid Kerberos token by running kinit.

$ http --auth-type=gssapi

Note that supplying authentication credentials is not necessary, meaning the following two commands are equivalent:

$ http --auth-type=gssapi
$ http --auth-type=gssapi --auth :

Configuration Options

The following environment variables can be set to modify the GSSAPI authentication behavior:

  • HTTPIE_GSSAPI_MUTUAL_AUTH (default: required): determines whether mutual authentication from the server should be required. For more information, see Mutual Authentication. Possible values are: required, optional, disabled.
  • HTTPIE_GSSAPI_OPPORTUNISTIC_AUTH (default: no): enables or disables preemptively initiating the GSSAPI exchange. For more information, see Opportunistic Authentication. Possible values are: yes, true, 1; all other values default to no.
  • HTTPIE_GSSAPI_DELEGATE (default: no): enables or disables credential delegation. For more information, see Delegation. Possible values are: yes, true, 1; all other values default to no.

Project details

Download files

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

Files for httpie-gssapi, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size httpie_gssapi-1.0.2-py3-none-any.whl (4.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size httpie-gssapi-1.0.2.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page