With Aruba and Juniper now both part of HPE Networking, many organizations are managing hybrid wireless environments that leverage both Aruba Central and Juniper Mist. Synchronizing mPSK (multi-Pre-Shared Key) accounts across these platforms can still be time-consuming and prone to manual errors. To help streamline this process, I developed mPSK-Sync โ a lightweight web application that automates the creation and synchronization of mPSK accounts between Aruba Central and Juniper Mist.
The project is available on GitHub: https://github.com/WifiGuyWill/mPSK-Sync
Purpose
The tool eliminates the need to manually recreate accounts and passphrases when users require consistent mPSK access across both platforms. It ensures accounts are created once and mirrored accurately, reducing administrative effort and preventing inconsistencies in hybrid ArubaโMist deployments.
How It Works
The application follows a clear workflow:
- Input: The user provides an email address via the web interface.
- Aruba Central Check: The app queries Aruba Central to determine if an mPSK account already exists for that email.
-
If the account exists:
- Retrieves the current passphrase from Aruba Central.
- Creates or updates the matching PSK entry in Juniper Mist using the same passphrase.
-
If the account does not exist:
- Creates a new mPSK account in Aruba Central (which generates a new passphrase).
- Immediately creates the corresponding PSK in Juniper Mist using the newly generated passphrase.
All operations are performed using the official APIs of Aruba Central and Juniper Mist.




Core Features
- Web-based interface built with FastAPI (backend) and Bootstrap 5 (frontend)
- Secure authentication to protect API credentials and operations
- Automatic duplicate detection to prevent redundant account creation
- Expandable API response panels for visibility and troubleshooting
- Environment variable-based configuration (no hard-coded credentials)
- Supports local execution or Docker container deployment
Technical Details
The application is written in Python using:
- FastAPI for the API layer and web serving
- Pydantic for configuration and data validation
- Requests library for API communication
- Docker support for easy deployment
Configuration is handled through a .env file containing the necessary API tokens, organization/site IDs, and endpoint details for both platforms.
Getting Started
- Clone the repository: git clone https://github.com/WifiGuyWill/mPSK-Sync.git
- Review the README for detailed setup instructions
- Create a .env file with your Aruba Central and Juniper Mist credentials
- Run locally with Uvicorn or deploy using Docker
Full setup instructions, requirements, and configuration examples are in the repository.
Feedback Welcome
If you use the tool or have suggestions for improvement, feel free to open an issue or reach out on GitHub (@WifiGuyWill).
This is a practical utility for teams managing combined Aruba and Juniper wireless environments within HPE Networking. I hope it saves you time.