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.7.0.tar.gz (23.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.7.0-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fabric_fss_utils-1.7.0.tar.gz
Algorithm Hash digest
SHA256 482882530b8334e41370ac6742f8a1f161f9deccdceff38fbf18dc9797c60906
MD5 2979ec67d5e8a2e028601b6df4feefcc
BLAKE2b-256 42f270933da803941e7a04d95021674d65536dc781605c96b9f9f365e2b4f3d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabric_fss_utils-1.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d8afe47bc202d144a49f4a767ac92dc4d83d7845f0d68825429b10c79dde1eba
MD5 e9f10d0228f22782e7e43bc29e7e8b80
BLAKE2b-256 263837f461d19e37bf957744e5fea8be2a76dd23ffd00ade9d3510582ac6924f

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