pub struct ResolvedSecrets {Show 13 fields
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 gonka_private_key: Option<Secret>,
pub gonka_address: Option<Secret>,
pub cocoon_access_hash: Option<Secret>,
pub skill_registry_token: Option<Secret>,
pub web_search_api_key: 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>§gonka_private_key: Option<Secret>Gonka wallet private key for signing blockchain transactions.
gonka_address: Option<Secret>Gonka wallet address for node identity verification.
cocoon_access_hash: Option<Secret>Cocoon sidecar access hash resolved from the vault key ZEPH_COCOON_ACCESS_HASH.
skill_registry_token: Option<Secret>Skill/plugin registry bearer credential, resolved from the vault key named by
skills.registry.auth_vault_key when skills.registry.enabled = true (spec-045,
#5869). None when the registry is disabled or auth_vault_key is unset.
web_search_api_key: Option<Secret>web_search tool API key, resolved from the vault key named by
tools.search.api_key_vault_key when tools.search.enabled = true (spec
006-1-web-search). None when the tool is disabled or the key is unset.
custom: HashMap<String, Secret>Arbitrary named secrets resolved from ZEPH_SECRET_* vault keys.
Key is the lowercased name after stripping the prefix (e.g. github_token).
Shared by two consumers: skill requires_secrets injection (see
zeph-core::agent::tool_execution::inject_active_skill_env) and sub-agent
permissions.secrets approval (see zeph-core::agent::subagent_commands::resolve_subagent_secret).
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
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> ⓘ
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> ⓘ
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>
T in a tonic::Request