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.dev4.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.dev4.tar.gz.

File metadata

File hashes

Hashes for swarmauri_keyproviders_mirrored-0.2.0.dev4.tar.gz
Algorithm Hash digest
SHA256 be2516832526400b65c5ccc4582f76ad9a2b17dbf4d6dafd5baad8b72e5fcba7
MD5 a174d515220ce789a7b74d60769fa878
BLAKE2b-256 7b6756996dd0fb38ab128eb328056aa927c8f1fa00398b71f84ad63c7b438186

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swarmauri_keyproviders_mirrored-0.2.0.dev4-py3-none-any.whl
Algorithm Hash digest
SHA256 b5ed8697e7e3f96d309da6424c6366f06e04b4404c925d7343e6279b6776abcb
MD5 482a1c736c97a7a07d6748b707b6bf6f
BLAKE2b-256 1a19fc5d963a65bb30d87f81aa80cfb267b31297785fe98bf775e48bd7841a19

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