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.6.2.tar.gz (24.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fabric_fss_utils-1.6.2-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file fabric_fss_utils-1.6.2.tar.gz.

File metadata

  • Download URL: fabric_fss_utils-1.6.2.tar.gz
  • Upload date:
  • Size: 24.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.5

File hashes

Hashes for fabric_fss_utils-1.6.2.tar.gz
Algorithm Hash digest
SHA256 772f7972724cc680faddcc46de9e6678d0a77407d65d70382d7e4cdfd76d3784
MD5 af4acf78efd8c0f3c10f62ce9e1d9424
BLAKE2b-256 29fb90dbb7df8c99ad01a18bce3eab2d3186ae7b7be13cee6533c055b7648c1b

See more details on using hashes here.

File details

Details for the file fabric_fss_utils-1.6.2-py3-none-any.whl.

File metadata

File hashes

Hashes for fabric_fss_utils-1.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 44d2627c4784cd22bc7609b8a05eb2b7204f199fd017381db11e8a519bd3073e
MD5 fb763ff4ea35e33d2794618cc6f49ec7
BLAKE2b-256 29d3042aa10bd3c60028d862224d8df02285391bb7cd738b436829083bcbc735

See more details on using hashes here.

Supported by

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