Skip to content

Command Line Interface to store secrets and generate Multi-Factor Authentication codes

License

Notifications You must be signed in to change notification settings

EgydioBNeto/mfa-cli

Repository files navigation

Multi-Factor Authentication Command Line Interface

Languages

English, Portuguese-BR, Spanish, German, French, Russian, Chinese, Japanese, Hindi, Arabic

Description

This is a simple Command Line Interface (CLI) tool written in Python for managing secrets and generating Multi-Factor Authentication (MFA) codes. The script allows users to add, delete, update, list, and export secrets, as well as generate MFA codes.

Overview

Features

Commands

  • mfa_add <name> <secret>: Add a new secret.
  • mfa_delete <name> Delete a stored secret.
  • mfa_list List all stored secrets.
  • mfa_update <name> <secret>: Update an existing secret.
  • mfa_generate <name>: Generate an MFA code.
  • mfa_export <file_path>: Export secrets to a file.
  • mfa_help Show this help message.

Summarized Commands

  • mfa <name> <secret>: Add a new secret.
  • mfd <name> Delete a stored secret.
  • mfl List all stored secrets.
  • mfu <name> <secret>: Update an existing secret.
  • mfg <name>: Generate an MFA code.
  • mfe <file_path>: Export secrets to a file.
  • mfh Show this help message.

Requirements

  • Python3

Installation

python3 -c "$(curl -fsSL https://raw.githubusercontent.com/EgydioBNeto/mfa-cli/main/install.py)"

Uninstallation

python3 -c "$(curl -fsSL https://raw.githubusercontent.com/EgydioBNeto/mfa-cli/main/uninstall.py)"

Author

EgydioBNeto

License

This project is licensed under the MIT License.