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 agents_dir(&self) -> PathBuf
pub fn agents_dir(&self) -> PathBuf
Canonical per-agent identity root.
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 legacy_identity_file_for_agent(&self, agent_id: &str) -> PathBuf
pub fn legacy_identity_file_for_agent(&self, agent_id: &str) -> PathBuf
Legacy root-level age identity file for one agent id.
Sourcepub fn namespaced_identity_file_for_agent(&self, agent_id: &str) -> PathBuf
pub fn namespaced_identity_file_for_agent(&self, agent_id: &str) -> PathBuf
Legacy namespaced-store 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 legacy_signing_key_file_for_agent(&self, agent_id: &str) -> PathBuf
pub fn legacy_signing_key_file_for_agent(&self, agent_id: &str) -> PathBuf
Legacy root-level 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 legacy_gpg_home(&self, agent_id: &str) -> PathBuf
pub fn legacy_gpg_home(&self, agent_id: &str) -> PathBuf
Legacy GPG homedir for one agent id.
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
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more