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.
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for httpie_gssapi-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65a9d1e3c6d26f8f474643f480fbc93827d51a03e2a4655e890c05f6dfab287a |
|
MD5 | 283b53c4506c7deb2f22c16c2d76341f |
|
BLAKE2b-256 | 109b3d00e4c69daa9caf331b3ef445bfb6913146c358a7ec69ac714b9bd37d0a |