Skip to main content

FABRIC System Service Utilities - JWT and SSH key handling

Project description

PyPI

Overview

Python library for supporting FABRIC System Services. Includes multiple modules:

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


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.1.tar.gz (22.2 kB view hashes)

Uploaded Source

Built Distribution

fabric_fss_utils-1.5.1-py3-none-any.whl (13.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page