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.0.tar.gz
(22.1 kB
view details)
Built Distribution
File details
Details for the file fabric_fss_utils-1.6.0.tar.gz
.
File metadata
- Download URL: fabric_fss_utils-1.6.0.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 | cdc501fbd2bf6a643a88dd001b3a8cbe0bf4f37837964b24da87885f9b892f75 |
|
MD5 | 1930ab2e4761df99035cf9214974b40b |
|
BLAKE2b-256 | 15820a007a77fafaac71da8f827e27a2ab520d5cecedbf35d29fcd33726fa984 |
File details
Details for the file fabric_fss_utils-1.6.0-py3-none-any.whl
.
File metadata
- Download URL: fabric_fss_utils-1.6.0-py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7fa5cc7383b15c383646f8a8400418a8c5c08053a8bf94b33df266832311dab |
|
MD5 | 7d1bc90aa6609ac104d0359d05af7943 |
|
BLAKE2b-256 | a52343eca5acc6915fdcf13a4654d8c2cab5fa8813354bf0f110bdbdeed3f95e |