-
Notifications
You must be signed in to change notification settings - Fork 0
Encryption
Ashley Davis edited this page Feb 25, 2026
·
7 revisions
To protect your media with encryption:
-
Generate a key on first init (key is stored in the Photosphere config directory under the name you give):
psi init --key my-key --generate-key
-
Use the same key for all operations (refer to it by name):
psi add ~/new-photos/ --key my-key psi ui --key my-key psi export abc123-def4-5678-9012-345678901234 ./output.jpg --key my-key
-
Encrypt on replication:
psi replicate --key my-key --generate-key --dest s3:my-bucket/my-photos
Keys are generally stored in the Photosphere config directory and don't require a path—just a name.
Important: If you use encryption, don't lose your encryption key. If you lose it, you lose access to your encrypted database.
Advice: As soon as you generate a key, store it safely in your password manager.