-
-
Notifications
You must be signed in to change notification settings - Fork 88
Security
Akram El Assas edited this page Aug 23, 2025
·
106 revisions
Servy securely encrypts stored passwords using AES encryption.
The AES encryption key and initialization vector (IV) are protected using Windows DPAPI with the LocalMachine scope. This ensures the key and IV can only be decrypted and used on the same machine where they were created.
Servy stores the AES key and IV in the following files:
# AES Key
C:\ProgramData\Servy\security\aes_key.dat
# AES IV
C:\ProgramData\Servy\security\aes_iv.datYou can replace the AES key and IV by modifying the files above.
Changing either file will make all previously encrypted passwords impossible to decrypt.
Only replace these files if:
- You are setting up a new Servy installation
- You have a migration plan to re-enter or re-encrypt credentials
- Backup first: Keep a secure backup of the existing key and IV before making changes
- Restart required: Restart the Servy app after modifying these files
-
Restrict access: Limit access to the
C:\ProgramData\Servy\securityfolder so only trusted administrators can read/write these files - Do not share across machines: Because DPAPI LocalMachine scope is used, copying the files to another machine will not work
- Encryption errors: If Servy cannot decrypt stored passwords, verify that the key and IV files exist and are intact
- Corrupted files: If either file is corrupted or partially overwritten, previously encrypted passwords will be unrecoverable
-
Permissions issues: Ensure Servy app have sufficient access to read the key and IV files in
C:\ProgramData\Servy\security - User account mismatch: Although LocalMachine scope is used, very restrictive security settings may prevent some service accounts from accessing the files
Copyright © Akram El Assas. All rights reserved.
- Home
- Overview
- Installation Guide
- Advanced Configuration
- Usage
- Servy Desktop App
- Servy Manager
- Servy CLI
- PowerShell Module
- Examples & Recipes
- Logging & Log Rotation
- Health Monitoring & Recovery
- Environment Variables
- Service Dependencies
- Pre-Launch & Post-Launch Actions
- Pre-Stop & Post-Stop Actions
- Shutdown & Teardown
- Export/Import Services
- Automation & CI/CD
- Integration with Monitoring Tools
- Service Event Notifications
- Comparison with Alternatives
- Security
- Architecture
- Building from Source
- Troubleshooting
- FAQ