signstar_config/
lib.rs

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;
8pub mod state;
9#[cfg(feature = "test-helpers")]
10pub mod test;
11pub mod utils;
12#[cfg(feature = "yubihsm2")]
13pub mod yubihsm2;
14
15pub use admin_credentials::AdminCredentials;
16pub use config::{
17    base::{
18        AdministrativeSecretHandling,
19        BackendConnection,
20        NonAdministrativeSecretHandling,
21        SignstarConfig,
22    },
23    credentials::{AuthorizedKeyEntry, SystemUserId},
24    error::Error as ConfigError,
25    mapping::{BackendUserKind, ExtendedUserMapping, UserMapping, UserMappingFilter},
26};
27pub use error::{Error, ErrorExitCode};
28pub use nethsm::{
29    FilterUserKeys,
30    NetHsmMetricsUsers,
31    admin_credentials::NetHsmAdminCredentials,
32    backend::NetHsmBackend,
33    error::Error as NetHsmBackendError,
34};
35pub use non_admin_credentials::{
36    CredentialsLoading,
37    CredentialsLoadingError,
38    CredentialsLoadingErrors,
39};