pub mod consent;
pub mod eligibility;
pub mod outcome;
#[rustfmt::skip]
test_support_visibility! {
pub(crate) mod requests;
}
pub mod scope;
pub mod transport;
pub mod vault;
pub mod wire;
mod wire_owned;
pub use consent::{
file_consent, request_params, withhold_consent, ConsentOutcome, SecretConsentRequest,
SecretConsentTransport, SECRET_CONSENT_KIND,
};
pub use eligibility::{CallScopes, EligibilityForm, Ineligibility};
pub use outcome::{
first_failure, outcome_for, outcome_for_second_use, refuse, refuse_ineligible, LabelOutcome,
SECRETS_UNAVAILABLE, SECRET_ACCESS_PENDING, SECRET_ACCESS_PENDING_MESSAGE,
SECRET_ACCESS_UNAVAILABLE, SECRET_REFUSED,
};
pub use scope::SecretScope;
pub use vault::{
now_ms, unrecorded_audit_records, zeroize, AuditError, Material, SecretUseTransport,
SecretVault, SubcSecretVault, UnavailableVault, UseAnswer,
};
pub use wire::{
parse_answer, parse_reply, ApiKeyTarget, ApprovalRequest, Coverage, LoginTarget,
ReleasedApiKey, ReleasedLogin, ReplyError, SecretUseAnswer, SecretUseRefusal, SecretUseReply,
SecretUseRequest, Target, VaultError, VaultTransportError,
};
#[cfg(any(any(test, feature = "test-support"), feature = "secret-test-fake"))]
pub use vault::fake::{approval, granted, FakeReply, FakeVault, FakeVaultScript};
pub mod call_context;
#[rustfmt::skip]
test_support_visibility! {
pub(crate) mod fetch;
}
#[cfg(test)]
#[path = "tests.rs"]
mod tests;
#[cfg(test)]
#[path = "wire_tests.rs"]
mod wire_tests;