FABRIC System Service Utilities - JWT and SSH key handling
Project description
Overview
Python library for supporting FABRIC System Services. Includes multiple modules:
- jwt_validate - validates JWT against a JWKS endpoint
See test folder for examples of use
Installation
For developing and testing the FIM code itself use editable install (from top-level directory) from python/ folder
(infomodel) $ pip install -e .
As a dependency use PyPi
$ pip install fabric-fss-utils
$ python
>>> from fss_utils.jwt_validate import JWTValidator, ValidateCode
>>> token = "..."
>>> validator = JWTValidator(cert_end_point, audience, datetime.timedelta(minutes=5))
>>> validator.validate_jwt(token)
Testing
Use pytest
:
$ pytest test/
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
fabric_fss_utils-1.6.0b1.tar.gz
(22.1 kB
view details)
Built Distribution
File details
Details for the file fabric_fss_utils-1.6.0b1.tar.gz
.
File metadata
- Download URL: fabric_fss_utils-1.6.0b1.tar.gz
- Upload date:
- Size: 22.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8750508d1a484fe331e926ccff426e72f2543244f97b6cc1c79e558a0bf9ef8a |
|
MD5 | 1504996325c8e8615071284d500a500b |
|
BLAKE2b-256 | b281c43d09234e6c1d17bbd3960243f00891c924bd657d6e474b548e280ba838 |
File details
Details for the file fabric_fss_utils-1.6.0b1-py3-none-any.whl
.
File metadata
- Download URL: fabric_fss_utils-1.6.0b1-py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f576b79f80c072be2081ce5fda8b903d34f36e9ec53177ed7befc4f82f1527a8 |
|
MD5 | dbe7d7f6dda80593b8ca4248d1732632 |
|
BLAKE2b-256 | 6a9ffe0b155086009e69ca8939ddee0abbcf7061bd8acf8f36f7365836a52557 |