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.0.tar.gz
(22.1 kB
view hashes)
Built Distribution
Close
Hashes for fabric_fss_utils-1.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5272af95103e277646d3accac4cc9186177e34b091b845919b9a4f5aa01e742e |
|
MD5 | 7133426a98d0d80ce491c1f00d0d545d |
|
BLAKE2b-256 | 9ce1c91b88919ddfc7a5f189a0f48a304762eb39f99a56d9e62624fdccab938a |