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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fabric_fss_utils-1.6.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.6.0.tar.gz
Algorithm Hash digest
SHA256 cdc501fbd2bf6a643a88dd001b3a8cbe0bf4f37837964b24da87885f9b892f75
MD5 1930ab2e4761df99035cf9214974b40b
BLAKE2b-256 15820a007a77fafaac71da8f827e27a2ab520d5cecedbf35d29fcd33726fa984

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabric_fss_utils-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b7fa5cc7383b15c383646f8a8400418a8c5c08053a8bf94b33df266832311dab
MD5 7d1bc90aa6609ac104d0359d05af7943
BLAKE2b-256 a52343eca5acc6915fdcf13a4654d8c2cab5fa8813354bf0f110bdbdeed3f95e

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