Sign in Sign up
cargo

nornir-auth-apikey

Hashed static API-key auth PROVIDER for the nordisk servers — verifies a presented key against a store of SHA-256-HASHED keys (hashed-at-rest, distinct from `nornir-auth-bearer`'s single plaintext secret). Enables rotating / multi-tenant key stores where the plaintext key is never persisted. Implements the shared `nornir_service::AuthProvider` seam via `verify_bearer`. REUSES the shared primitives (`nornir-hash::sha256_hex` for the digest, `nornir_service::token_matches` for the constant-time compare) — no crypto/HTTP of its own, so it is a tiny provider every tier can pin cheaply. Consumed by holger (reference impl), korp, dwarves.

cargo View on Cargo

Activity

Latest release
3w ago
Total releases
2
Cadence
~18 days
Last 12 months
2

Reach

Downloads
18

Details

License
MIT OR Apache-2.0
First release
Aug 05, 2026
Releases
Version Released
0.1.1 patch
0.1.0 initial