Skip to main content

Mirrored key provider for Swarmauri

Project description

Swamauri Logo

Swarmauri Mirrored Key Provider

A failover key provider that mirrors keys to a secondary provider for redundancy. Supports full and public-only replication with optional extras for canonical representations.

Features:

  • Mirror new keys to a secondary provider
  • Failover reads when the primary provider is unavailable
  • JWKS union merging as described in RFC 7517
  • Optional extras for JSON and CBOR canonicalization

Installation

pip install swarmauri_keyproviders_mirrored

Usage

from swarmauri_keyproviders_mirrored import MirroredKeyProvider
from swarmauri_keyprovider_local import LocalKeyProvider

primary = LocalKeyProvider()
secondary = LocalKeyProvider()
provider = MirroredKeyProvider(primary, secondary)

Entry Point

The provider registers under the swarmauri.key_providers entry point as MirroredKeyProvider.

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

swarmauri_keyproviders_mirrored-0.2.0.dev2.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file swarmauri_keyproviders_mirrored-0.2.0.dev2.tar.gz.

File metadata

File hashes

Hashes for swarmauri_keyproviders_mirrored-0.2.0.dev2.tar.gz
Algorithm Hash digest
SHA256 d7f9fbd58a3056f025f5c5077cee6e2099bdb819f5f14ef39cbb0eef5524269c
MD5 a7ccfe865186d3ca30798877d5244b8c
BLAKE2b-256 e12668d6c96472495a48756089d7dca4bf7899a1d4b552649b8fdba396713e39

See more details on using hashes here.

File details

Details for the file swarmauri_keyproviders_mirrored-0.2.0.dev2-py3-none-any.whl.

File metadata

File hashes

Hashes for swarmauri_keyproviders_mirrored-0.2.0.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 020e8a8e428773613b349447a8970e416f7318483ca9b866234e4ba6d4b76fdf
MD5 bcd593cf71e4c883ce0e3c6b10022216
BLAKE2b-256 716637e53d16902ad8d32710448130d09a85be7e67bc68a87c0076bc3b8aedc3

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