pub struct ResolvedSecrets {
pub claude_api_key: Option<Secret>,
pub openai_api_key: Option<Secret>,
pub gemini_api_key: Option<Secret>,
pub compatible_api_keys: HashMap<String, Secret>,
pub discord_token: Option<Secret>,
pub slack_bot_token: Option<Secret>,
pub slack_signing_secret: Option<Secret>,
pub custom: HashMap<String, Secret>,
}Expand description
Secrets resolved from the vault at runtime.
Populated by SecretResolver::resolve_secrets() in zeph-core.
Never serialized to TOML.
Fields§
§claude_api_key: Option<Secret>§openai_api_key: Option<Secret>§gemini_api_key: Option<Secret>§compatible_api_keys: HashMap<String, Secret>§discord_token: Option<Secret>§slack_bot_token: Option<Secret>§slack_signing_secret: Option<Secret>§custom: HashMap<String, Secret>Arbitrary skill secrets resolved from ZEPH_SECRET_* vault keys.
Key is the lowercased name after stripping the prefix (e.g. github_token).
Trait Implementations§
Source§impl Debug for ResolvedSecrets
impl Debug for ResolvedSecrets
Source§impl Default for ResolvedSecrets
impl Default for ResolvedSecrets
Source§fn default() -> ResolvedSecrets
fn default() -> ResolvedSecrets
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ResolvedSecrets
impl RefUnwindSafe for ResolvedSecrets
impl Send for ResolvedSecrets
impl Sync for ResolvedSecrets
impl Unpin for ResolvedSecrets
impl UnsafeUnpin for ResolvedSecrets
impl UnwindSafe for ResolvedSecrets
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request