secure_data — Data protection, secrets management & FIPS readiness (OWASP C8).
This crate provides:
- Typed secret wrappers that suppress
Debug,Display, and defaultSerializeoutput. - Pluggable key-provider abstraction with a
StaticDevKeyProviderfor tests. - Envelope encryption/decryption via AES-256-GCM (FIPS-ready
aws-lc-rsbehindfipsfeature). - Key ring lifecycle management with rotation and dual-read support.
- Secret reference parsing (
vault://,kms://,env://). - Zeroization and
ReadOncememory helpers.