pub enum SecretStore {
Keychain,
CredentialManager,
}Expand description
A system’s store of secrets that holds a login ahead of a tool’s file, with a ceiling on
what one item takes: the login keychain on macOS, Credential Manager on Windows. On Linux
Claude Code keeps its login in .credentials.json alone (live_chain_order), so no file
there is behind a store, and no store’s ceiling refuses a write.
Variants§
Trait Implementations§
Source§impl Clone for SecretStore
impl Clone for SecretStore
impl Copy for SecretStore
Source§impl Debug for SecretStore
impl Debug for SecretStore
impl Eq for SecretStore
Source§impl PartialEq for SecretStore
impl PartialEq for SecretStore
impl StructuralPartialEq for SecretStore
Auto Trait Implementations§
impl Forget for SecretStore
impl Freeze for SecretStore
impl Move for SecretStore
impl RefUnwindSafe for SecretStore
impl Send for SecretStore
impl Sync for SecretStore
impl Unpin for SecretStore
impl UnsafeUnpin for SecretStore
impl UnwindSafe for SecretStore
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.