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.3b0.tar.gz (21.9 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.3b0-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file fabric_fss_utils-1.6.3b0.tar.gz.

File metadata

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

File hashes

Hashes for fabric_fss_utils-1.6.3b0.tar.gz
Algorithm Hash digest
SHA256 f4d684993a41e0e46dcf4f92f6d95d95a7c2d9ac9edbef037572acc788c70841
MD5 3e8bfa841fb3c5df1986e23974c4a9ba
BLAKE2b-256 990a7f0c2a18a5335d43f1617f15233f03446c7f29eb9a5317f365010225ecff

See more details on using hashes here.

File details

Details for the file fabric_fss_utils-1.6.3b0-py3-none-any.whl.

File metadata

File hashes

Hashes for fabric_fss_utils-1.6.3b0-py3-none-any.whl
Algorithm Hash digest
SHA256 cf9081f15e4211f60f943c5cb06b5a477b7cf4652b1b28ed0fb48a2c4fe24fc4
MD5 876f8c33d379189236e0bdf222b9ef99
BLAKE2b-256 cfa7901f368235c006487201bdd1e1607777e6832fe143063518d5c82c09c766

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