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.0.tar.gz (22.1 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.5.0-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fabric_fss_utils-1.5.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

Hashes for fabric_fss_utils-1.5.0.tar.gz
Algorithm Hash digest
SHA256 b1272ea68f926ad9c46961603fea2477c1158ef5db16e1e1625024caff3e5766
MD5 5a762806c892ec92dc9cdc6542f4d203
BLAKE2b-256 6a1fa241333a9fdc70228812b95b5233b575be7e92a73f3e5df7f9ff6fc12869

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabric_fss_utils-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5272af95103e277646d3accac4cc9186177e34b091b845919b9a4f5aa01e742e
MD5 7133426a98d0d80ce491c1f00d0d545d
BLAKE2b-256 9ce1c91b88919ddfc7a5f189a0f48a304762eb39f99a56d9e62624fdccab938a

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