pub struct SecretsPaths { /* private fields */ }Expand description
Canonical path layout for secrets runtime files.
Implementations§
Source§impl SecretsPaths
impl SecretsPaths
Sourcepub fn metadata_dir(&self) -> PathBuf
pub fn metadata_dir(&self) -> PathBuf
Secret metadata directory.
Sourcepub fn pending_file(&self) -> PathBuf
pub fn pending_file(&self) -> PathBuf
Pending requests JSON file.
Sourcepub fn audit_file(&self) -> PathBuf
pub fn audit_file(&self) -> PathBuf
Audit log JSONL file.
Sourcepub fn default_identity_file(&self) -> PathBuf
pub fn default_identity_file(&self) -> PathBuf
Default age identity file for CLI agent.
Sourcepub fn identity_file_for_agent(&self, agent_id: &str) -> PathBuf
pub fn identity_file_for_agent(&self, agent_id: &str) -> PathBuf
Age identity file for one agent id.
Sourcepub fn default_signing_key_file(&self) -> PathBuf
pub fn default_signing_key_file(&self) -> PathBuf
Default Ed25519 signing key file for CLI agent.
Sourcepub fn signing_key_file_for_agent(&self, agent_id: &str) -> PathBuf
pub fn signing_key_file_for_agent(&self, agent_id: &str) -> PathBuf
Ed25519 signing key file for one agent id.
Sourcepub fn vaults_dir(&self) -> PathBuf
pub fn vaults_dir(&self) -> PathBuf
Vault configuration directory.
Sourcepub fn gpg_homes_dir(&self) -> PathBuf
pub fn gpg_homes_dir(&self) -> PathBuf
Per-agent GPG homedir root.
Sourcepub fn vault_sessions_file(&self) -> PathBuf
pub fn vault_sessions_file(&self) -> PathBuf
Vault session metadata file.
Sourcepub fn encrypted_dir(&self) -> PathBuf
pub fn encrypted_dir(&self) -> PathBuf
Encrypted vault payload root directory.
Sourcepub fn mounts_dir(&self) -> PathBuf
pub fn mounts_dir(&self) -> PathBuf
Default vault mount root directory.
Sourcepub fn vault_config_file(&self, vault_name: &str) -> PathBuf
pub fn vault_config_file(&self, vault_name: &str) -> PathBuf
Path to one vault config file.
Sourcepub fn vault_cipher_dir(&self, vault_name: &str) -> PathBuf
pub fn vault_cipher_dir(&self, vault_name: &str) -> PathBuf
Path to one vault ciphertext directory.
Sourcepub fn vault_mountpoint(&self, vault_name: &str) -> PathBuf
pub fn vault_mountpoint(&self, vault_name: &str) -> PathBuf
Path to one vault mountpoint.
Trait Implementations§
Source§impl Clone for SecretsPaths
impl Clone for SecretsPaths
Source§fn clone(&self) -> SecretsPaths
fn clone(&self) -> SecretsPaths
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SecretsPaths
impl RefUnwindSafe for SecretsPaths
impl Send for SecretsPaths
impl Sync for SecretsPaths
impl Unpin for SecretsPaths
impl UnsafeUnpin for SecretsPaths
impl UnwindSafe for SecretsPaths
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