The plugin provides GSSAPI Kerberos authentication on data job startup. The plugin also adds Kerberos/GSSAPI support for HTTP requests.
Usage
To install the plugin, run:
pip install vdk-kerberos-auth
The plugin dependency requests-kerberos==0.12.0 may fail to install on Ubuntu with the following error:
src/kerberosbasic.h:17:10: fatal error: gssapi/gssapi.h: No such file or directory
17 | #include <gssapi/gssapi.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
If this is the case, install libkrb5-dev with the command below and try reinstalling the plugin:
sudo apt-get install -y libkrb5-dev
The following environment variables can be used to configure this plugin:
| name | description |
|---|---|
VDK_KRB_AUTH |
Specifies the Kerberos authentication type to use. Possible values are 'minikerberos' and 'kinit'. If left empty, the authentication is disabled. |
VDK_KEYTAB_FILENAME |
Specifies the name of the keytab file. If left empty, the name of the keytab file is assumed to be the same as the name of the data job with '.keytab' suffix. |
KEYTAB_FOLDER |
Specifies the folder containing the keytab file. If left empty, the keytab file is expected to be located inside the data job folder. |
VDK_KEYTAB_PRINCIPAL |
Specifies the Kerberos principal. If left empty, the principal will be the job name prepended with 'pa__view_'. |
VDK_KEYTAB_REALM |
Specifies the Kerberos realm. This value is used only with the 'minikerberos' authentication type. The default value is 'default_realm'. |
VDK_KERBEROS_KDC_HOST |
Specifies the name of the Kerberos KDC (Key Distribution Center) host. This value is used only with the 'minikerberos' authentication type. |
Metadata
Release files for vdk-kerberos-auth 0.1.475841228
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vdk-kerberos-auth-0.1.475841228.tar.gz | 6.1 kB | Without provenance | Details for vdk-kerberos-auth-0.1.475841228.tar.gz |
Release files / vdk-kerberos-auth-0.1.475841228.tar.gz
| Download URL | vdk-kerberos-auth-0.1.475841228.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f2f19a90f3f5aebf19bfdf75c041f312623123b0e12a0f152957fef6fcbd0ac
|
|
BLAKE2b-256 checksum How to use checksums |
9e6e44847ac3ad2060f7cb1bb5f39955459a431757fd96681cb0a5ebce262442
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.12
|
Security for vdk-kerberos-auth 0.1.475841228
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.