SPNEGO (GSS Negotiate) auth plugin for HTTPie
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.rst
httpie_negotiate.py
setup.py

README.rst

httpie-negotiate

SPNEGO (GSS Negotiate) auth plugin for HTTPie, based on Jakub's httpie-ntlm example.

Installation

$ pip install httpie-negotiate

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

Usage

You need to have a valid Kerberos principal, run kinit first if necessary.

Note: Kerberos mutual authentication is set to REQUIRED by default.

$ http --auth-type=negotiate --auth : https://example.org

You can also use HTTPie sessions:

# Create session
$ http --session=logged-in --auth-type=negotiate --auth : https://example.org

# Re-use auth
$ http --session=logged-in POST https://example.org hello=world