Skip to main content

Crate secretx_core

Crate secretx_core 

Source
Expand description

Core traits and types for the secretx secrets retrieval library.

Backend crates depend on this crate and implement SecretStore and/or SigningBackend. Use SecretUri::parse to parse secretx: URIs in backend constructors.

Structs§

BackendRegistration
Registration entry for a SecretStore backend.
SecretUri
A parsed secretx: URI.
SecretValue
A secret value whose memory is zeroed on drop.
SigningBackendRegistration
Registration entry for a SigningBackend backend.
WritableBackendRegistration
Registration entry for a WritableSecretStore backend.

Enums§

SecretError
Errors returned by secret store operations.
SigningAlgorithm
Key algorithm used by a SigningBackend.

Traits§

SecretStore
A backend that retrieves and stores secrets.
SigningBackend
A signing backend where the private key never leaves the HSM.
WritableSecretStore
A SecretStore that also supports writing.