igwn-auth-utils
Python library functions to simplify using IGWN authorisation credentials.
https://igwn-auth-utils.readthedocs.io/
This project is primarily aimed at discovering X.509 credentials and SciTokens for use with HTTP(S) requests to IGWN-operated services.
Release status
Development status
Installation
The best way to install the latest release is using
conda with the
conda-forge channel enabled:
conda install -c conda-forge igwn-auth-utils
The latest release can also be installed using pip:
python -m pip install igwn-auth-utils
Basic usage
To discover an X.509 user credential (proxy) location:
>>> from igwn_auth_utils import find_x509_credentials
>>> print(find_x509_credentials())
('/tmp/x509up_u1000', '/tmp/x509up_u1000')
To discover (and deserialise) a SciToken for a specific
purpose (audience and scope):
>>> from igwn_auth_utils import find_scitoken
>>> print(find_scitoken("myservice", "read:/mydata"))
<scitokens.scitokens.SciToken object at 0x7fe99ab792e0>
Metadata
Release files for igwn-auth-utils 1.4.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 | |
|---|---|---|---|
| igwn_auth_utils-1.4.0.tar.gz | 40.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| igwn_auth_utils-1.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 75.0 kB
Release files / igwn_auth_utils-1.4.0.tar.gz
| Download URL | igwn_auth_utils-1.4.0.tar.gz |
|---|---|
| Size | 40.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ebd331a1d6de16e843e94cde2dc0a09d07a7fbc089bc525fa0eabddd89ea187
|
|
BLAKE2b-256 checksum How to use checksums |
e988a94ef60db81bb38137a3a7278a71efe729623bfa4a5bf4cabed8a8f44b69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / igwn_auth_utils-1.4.0-py3-none-any.whl
| Download URL | igwn_auth_utils-1.4.0-py3-none-any.whl |
|---|---|
| Size | 34.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3936dbc4e630b1a31eeb1376abf25ac7b518629f84e34ecc37a9d88ebd86e582
|
|
BLAKE2b-256 checksum How to use checksums |
70a06d3b9b7ff91c1cc73a0f45972a5032a4e89439ffb16e617806867cee905b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|