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

File metadata

File hashes

Hashes for swarmauri_keyproviders_mirrored-0.2.0.dev3.tar.gz
Algorithm Hash digest
SHA256 806856607357e2938086fb0141ce84f42ff00fe0bcdbf1e853f3b17376e31a3c
MD5 6fba98b18cd592b3334126d603d8546e
BLAKE2b-256 1d5aafd93a603a76cd3864195b4b6990c26eb5c7ad976d10c663398156d54ba2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swarmauri_keyproviders_mirrored-0.2.0.dev3-py3-none-any.whl
Algorithm Hash digest
SHA256 6a5bc3e3598651b2508a35cee9f39b55a9bd329a072dbc3fdd5f553d0ee45c18
MD5 3c0b5c296a4be8a93481dc00c3ebe08a
BLAKE2b-256 5c0f06bb5bd75ecf0c388b5d2125e7a0f6d498ba7cdf5e5a1ce3559e04ee23d3

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