Crates.io | mfa-cli |
lib.rs | mfa-cli |
version | 0.2.2 |
source | src |
created_at | 2020-06-07 15:51:26.972258 |
updated_at | 2023-12-06 14:09:02.748816 |
description | A MFA cli client |
homepage | |
repository | https://github.com/tkhr0/mfa-cli/ |
max_upload_size | |
id | 251019 |
size | 60,335 |
A CLI client for MFA It's a MFA code manager. You can manage MFA accounts and its secret code.
Download a latest mfa-cli from mfa-cli.zip link on below releases page. https://github.com/tkhr0/mfa-cli/releases
Then unzip the file and move binary to $PATH dir.
$ unzip mfa-cli.zip
$ ls ./target/release/mfa-cli
./target/release/mfa-cli
$ mv target/release/mfa-cli /usr/local/bin
$ ls /usr/local/bin/mfa-cli
/usr/local/bin/mfa-cli
$ mfa-cli -V
MFA CLI 0.2.0
# Add a new profiles
$ mfa-cli profile add PROFILE_NAME SECRET_CODE
# Show MFA code for the profile
$ mfa-cli show PROFILE_NAME
123456
# After showing code, watch for changes
$ mfa-cli show -w PROFILE_NAME
123456
# Show help
$ mfa-cli help
mfa-cli store config to file. You will manage the directory by env variables. Here are the values and priorities you can specify.
MFA_CLI_CONFIG_HOME
XDG_CONFIG_HOME
HOME
This software is released under the MIT License.