httpie-gssapi
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.
Installation
$ pip install httpie-gssapi
This will add the gssapi authentication method under --auth-type in the $ http --help output.
Usage
Ensure you have a valid Kerberos token 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 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.
Metadata
Release files for httpie-gssapi 1.0.2
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.0.2.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| httpie_gssapi-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.8 kB
Release files / httpie-gssapi-1.0.2.tar.gz
| Download URL | httpie-gssapi-1.0.2.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a08ef607c1d187d3d6ddaf44b3e3b74693009f24ec63c1342bcc406f4dd51141
|
|
BLAKE2b-256 checksum How to use checksums |
3f98c225b3946f0acd52b50a961be620e0cebef9c6699ad31fff9743e5c90ff9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
|
Release files / httpie_gssapi-1.0.2-py3-none-any.whl
| Download URL | httpie_gssapi-1.0.2-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8999b18234897a5869abb88e7fcbb66363c0d3699411badce0dc2797c4a4f1aa
|
|
BLAKE2b-256 checksum How to use checksums |
532c87d8bc3f477d8a5289489fa80d1b46a23bc028cb7d4afc6b71c3ee5d97f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
|