1#![doc = include_str!("../README.md")]
2
3pub mod admin_credentials;
4pub mod config;
5pub mod error;
6pub mod nethsm;
7pub mod non_admin_credentials;
8#[cfg(feature = "test-helpers")]
9pub mod test;
10pub mod utils;
11
12pub use admin_credentials::AdminCredentials;
13pub use config::{
14 base::{AdministrativeSecretHandling, NonAdministrativeSecretHandling, SignstarConfig},
15 credentials::{AuthorizedKeyEntry, SystemUserId, SystemWideUserId},
16 error::Error as ConfigError,
17 mapping::{ExtendedUserMapping, FilterUserKeys, NetHsmMetricsUsers, UserMapping},
18};
19pub use error::{Error, ErrorExitCode};
20pub use nethsm::{
21 backend::NetHsmBackend,
22 error::Error as NetHsmBackendError,
23 state::{KeyState, State, UserState},
24};
25pub use non_admin_credentials::{
26 CredentialsLoading,
27 CredentialsLoadingError,
28 CredentialsLoadingErrors,
29};