httpie-gssapi
GSSAPI authentication plug-in for HTTPie.
This plug-in uses the requests-gssapi library, which is a more modern replacement for the old requests-kerberos library.
Installation
Install the plug-in using HTTPie's plug-in manager:
httpie cli plugins install httpie-gssapi
Or, if you installed HTTPie with uv tool:
uv tool install httpie --with httpie-gssapi
This will add the gssapi authentication method under --auth-type in the http --help output.
Note that requests-gssapi depends on gssapi, which is
compiled against your system's Kerberos libraries. On Linux, make sure the Kerberos development
headers (e.g. krb5-devel on Fedora or libkrb5-dev on Debian/Ubuntu) and a C compiler are
installed first.
Usage
Ensure you have a valid Kerberos ticket by running kinit.
http --auth-type=gssapi https://example.org
Note that supplying authentication credentials is not necessary, meaning the following two commands are equivalent:
http --auth-type=gssapi https://example.org
http --auth-type=gssapi --auth : https://example.org
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 tono. -
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 tono.
Development
Run the test suite, linter, formatter check, and type checker with:
tox
Releases are published to PyPI automatically when a version tag is pushed; use make bump-minor
or make bump-major to bump the version, commit, and tag.
Metadata
Release files for httpie-gssapi 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| httpie_gssapi-1.1.0.tar.gz | 3.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| httpie_gssapi-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.0 kB
Release files / httpie_gssapi-1.1.0.tar.gz
| Download URL | httpie_gssapi-1.1.0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
90f97fb512b6b060f7b37419392406a44af17db9746895455c644b61f887ffbf
|
|
BLAKE2b-256 checksum How to use checksums |
947eb512b0cc78b46562b240d436d58332c4bef4f3ea83ad4258e8d8ba5fddc5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.
Transparency logRelease files / httpie_gssapi-1.1.0-py3-none-any.whl
| Download URL | httpie_gssapi-1.1.0-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a1e93306a031148352df03e22337de221c95623d8f131e90dee1767b2f56d58a
|
|
BLAKE2b-256 checksum How to use checksums |
1f1b83a8d34742fa38e04e501035b3a5e22ad56e0745fc8984655ec5f09dc930
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.
Transparency log