1mod encryption;
18mod error;
19mod jwt;
20mod key_manager;
21mod provider;
22mod types;
23
24#[cfg(feature = "persistent")]
25mod persistent;
26
27#[cfg(feature = "persistent")]
28pub mod credentials;
29
30#[cfg(feature = "persistent")]
31pub mod registry_credentials;
32
33#[cfg(feature = "persistent")]
34pub mod git_credentials;
35
36#[cfg(feature = "vault")]
37mod vault;
38
39pub use encryption::EncryptionKey;
40pub use error::{Result, SecretsError};
41pub use jwt::{JwtSecretManager, ENV_JWT_SECRET};
42pub use key_manager::KeyManager;
43pub use provider::{EnvScopeProvider, SecretsProvider, SecretsResolver, SecretsStore};
44pub use types::{RotationResult, Secret, SecretMetadata, SecretRef, SecretScope};
45
46#[cfg(feature = "persistent")]
47pub use persistent::PersistentSecretsStore;
48
49#[cfg(feature = "persistent")]
50pub use credentials::CredentialStore;
51
52#[cfg(feature = "persistent")]
53pub use git_credentials::{GitCredential, GitCredentialKind, GitCredentialStore};
54
55#[cfg(feature = "persistent")]
56pub use registry_credentials::{RegistryAuthType, RegistryCredential, RegistryCredentialStore};
57
58#[cfg(feature = "vault")]
59pub use vault::VaultSecretsProvider;