mod audit;
mod cache;
mod caller;
pub mod codegen;
mod compiled_spec;
mod composition;
mod config;
mod error;
pub(crate) mod generator;
pub(crate) mod ini_field;
pub(crate) mod json_field;
mod manifest;
mod native;
mod plan;
mod report;
mod resolve;
mod revision;
mod secret_value;
mod secrets;
#[cfg(feature = "cli")]
mod serve;
mod spec;
mod spec_edit;
mod validation;
#[cfg(windows)]
#[doc(hidden)]
pub mod windows_security;
pub(crate) mod provider;
#[cfg(feature = "cli")]
pub mod cli;
#[cfg(feature = "cli")]
#[doc(hidden)]
pub mod integration;
pub use caller::CallerContext;
pub use config::Resolved;
pub use secret_value::SecretBytes;
#[doc(hidden)]
pub mod __private {
pub use ::secrecy;
pub use ::serde;
pub mod codegen {
pub use crate::codegen::CodegenIr;
pub use crate::codegen::IrField;
pub use crate::codegen::IrProfile;
pub use crate::codegen::build_ir;
pub use crate::codegen::capitalize;
}
pub use crate::config::Config;
pub use crate::config::GenerateConfig;
pub use crate::config::GenerateOptions;
pub use crate::config::Profile;
pub use crate::config::ProfileDefaults;
pub use crate::config::Project;
pub use crate::config::ProjectDefaults;
pub use crate::config::Secret;
pub use crate::spec::load_for_codegen;
}
pub use config::NativeAddress;
pub use config::ProjectDefaults;
pub use config::ProviderConfig;
pub use config::ProviderConfigStructured;
pub use config::ProviderDependency;
pub use config::ProviderRef;
pub use config::ProviderRefDetail;
pub use config::SecretRequest;
#[doc(hidden)]
pub use config::{AuditConfig, Config, GlobalConfig, GlobalDefaults, ProfileDefaults, Project};
pub use config::{
CredentialSource,
ExtractFormat,
NativeAddressTemplate,
ProviderAlias,
ProviderCache,
RequireReason,
SecretEncoding,
SecretExtract,
};
#[doc(hidden)]
pub use config::{GenerateConfig, GenerateOptions};
pub use error::MonosecretError;
pub use error::Result;
pub use manifest::Manifest;
pub use manifest::ManifestProfile;
pub use manifest::ManifestProject;
pub use manifest::ManifestSecret;
pub use monosecret_rpc::Revision;
pub use native::INLINE_SPEC_SCHEMA_VERSION;
pub use native::MIN_INLINE_SPEC_SCHEMA_VERSION;
pub use native::NATIVE_CALL_REQUEST_VERSION;
pub use native::call_json;
pub use provider::Address;
pub use provider::DiscoveryContext;
pub use provider::ProducedValuePersistence;
pub use provider::Provider;
pub use provider::ProviderValue;
pub use provider::external::BASE_ENDPOINT_ENVIRONMENT;
pub use provider::external::EndpointSecurity;
pub use provider::external::ExternalProvider;
pub use provider::external::PlatformEndpointSecurity;
pub use provider::external::ProviderCredentialBroker;
pub use provider::external::ProviderCredentialPrincipal;
pub use provider::external::ProviderCredentialRequest;
pub use provider::external::ProviderDiscovery;
pub use provider::external::ProviderEndpoint;
pub use provider::external::RegistrationScope;
pub use provider::external::set_provider_discovery;
pub use report::RESOLUTION_REPORT_SCHEMA_VERSION;
pub use report::ResolutionReport;
pub use report::ResolutionStatus;
pub use report::SecretResolution;
pub use resolve::NamedResolution;
pub use resolve::RESOLVE_SCHEMA_VERSION;
pub use resolve::ResolveResponse;
pub use resolve::ResolvedSecret;
pub use resolve::ResolvedSource;
pub use resolve::resolve_json;
pub use secrets::ExportFormat;
pub use secrets::Secrets;
pub use spec::Generation;
pub use spec::PasswordCharset;
pub use spec::Profile;
pub use spec::Secret;
pub use spec::Spec;
pub use spec::SpecBuilder;
pub use validation::ConstraintKind;
pub use validation::ConstraintViolation;
pub use validation::ValidatedSecrets;
pub use validation::ValidationErrors;
#[cfg(test)]
mod tests;