Skip to main content

Session Storage

This guide covers session persistence so you don’t need to re-authenticate on every run using the Privacy Boost CLI.

Automatic Session Persistence

After privacy-boost login, the CLI automatically saves the session. Subsequent commands use the saved session:

Programmatic Session Export/Import (Rust)

Export Session

Import Session

ExportedSession

Configuration File

The CLI stores configuration at the default path:

Logout

Session files contain private keys. Store them securely and restrict file permissions.

Best Practices

1. Protect Session Files

2. Handle Expired Sessions

3. Clean Up on Exit

Next Steps