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.0b1.tar.gz (22.1 kB view details)

Uploaded Source

Built Distribution

fabric_fss_utils-1.6.0b1-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file fabric_fss_utils-1.6.0b1.tar.gz.

File metadata

  • Download URL: fabric_fss_utils-1.6.0b1.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.6.0b1.tar.gz
Algorithm Hash digest
SHA256 8750508d1a484fe331e926ccff426e72f2543244f97b6cc1c79e558a0bf9ef8a
MD5 1504996325c8e8615071284d500a500b
BLAKE2b-256 b281c43d09234e6c1d17bbd3960243f00891c924bd657d6e474b548e280ba838

See more details on using hashes here.

File details

Details for the file fabric_fss_utils-1.6.0b1-py3-none-any.whl.

File metadata

File hashes

Hashes for fabric_fss_utils-1.6.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 f576b79f80c072be2081ce5fda8b903d34f36e9ec53177ed7befc4f82f1527a8
MD5 dbe7d7f6dda80593b8ca4248d1732632
BLAKE2b-256 6a9ffe0b155086009e69ca8939ddee0abbcf7061bd8acf8f36f7365836a52557

See more details on using hashes here.

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