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.5.0rc1.tar.gz
(23.3 kB
view hashes)
Built Distribution
Close
Hashes for fabric_fss_utils-1.5.0rc1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a989c8ae732e301769cc1d07c93a2b302adbba3c6a2d99e73c3e87d7d4ed2619 |
|
MD5 | b0049aefafa2c2d83c9730234c740b43 |
|
BLAKE2b-256 | e9014b97e64a2b727f5d45e4ba9dff1c87241437996595c0dfba6a26162f3974 |
Close
Hashes for fabric_fss_utils-1.5.0rc1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdc9cadb98cfe9f2bd46bb0ea53d3e6316c173ab90be57953170f1a1d428a3f5 |
|
MD5 | 7b329cb46ab22c0184e99342f5d3bba3 |
|
BLAKE2b-256 | 097f52d002720c897d067469ffe04dcac17e44bca29819ee484a5b3981282902 |