Developer Mode
Instructions for installation of Commander with the intent on modifying source code
Installation
If you are a developer and you plan to create Python source code or set up a development environment based on the Github repository, you can use a virtual environment to isolate the environment for testing. Follow the below instructions:
1. Clone/Download the Commander Repository
Clone or download the Commander repository from: https://github.com/Keeper-Security/Commander
2. Install Python3
Find the most recent Python3 installation from python.org
3. Install Virtualenv
4. Create and activate the virtual environment for your keeper project
Virtualenv creation and activation differs on Mac OS/Linux and Windows operating systems. Please follow the corresponding instructions.
5. Install Commander to the virtual environment
🎉 Setup Complete
You should be able to now login to the CLI by typing:
Additional Plugins
Keeper supports plugins for various 3rd party systems for password reset integration. Depending on the plugin, you will need to also install the modules required by that plugin. For example, our MySQL plugin requires the PyMySQL module.
See Password Rotation Plugins section for more information about Commander plugins.
Usage
After you have installed Keeper Commander in developer mode, you can simply login using the keeper shell
command:
![](https://docs.keeper.io/~gitbook/image?url=https%3A%2F%2F762006384-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MJXOXEifAmpyvNVL1to%252Fuploads%252FeYztlGct9AhyGQmayo1k%252Fimage.png%3Falt%3Dmedia%26token%3Dd6f96f3d-238d-459e-9cd7-7c31654c15ee&width=768&dpr=4&quality=100&sign=1cfd390c&sv=1)
Sample Python Code
Several standalone python scripts can be found here, with examples for searching records, creating teams and sharing folders, and more.
Last updated