This CLI Password Manager is a Python-based tool to manage your credentials. It provides functionalities to add, get, delete, list, and interactively manage your credentials.
- Add Credentials: Store new service credentials (service name, username, and password).
- Get Credentials: Retrieve stored credentials for a specific service.
- Delete Credentials: Remove credentials for a specific service.
- List Credentials: Display all stored credentials.
- Interactive Mode: Manage credentials interactively through the command line.
-
Clone the repository:
git clone https://github.com/yourusername/password-manager.git cd password-manager
The password manager can be used with the following commands:
add
: Add new credentials.get
: Get credentials for a service.delete
: Delete credentials for a service.list
: List all credentials.interactive
: Enter interactive mode to manage credentials.
To add new credentials, use the add
command with the required options:
python main.py add -s <service> -u <username> -p <password>
To get credentials for a specific service, use the get
command:
python main.py get -s <service>
To delete credentials for a specific service, use the delete
command:
python main.py delete -s <service>
To list all stored credentials, use the list
command:
python main.py list
To manage credentials interactively, use the interactive
command:
python main.py interactive
The configuration file path is defined in config.py
:
CREDENTIALS_FILE = 'credentials.json'