DEV Community

abdfn
abdfn

Posted on • Updated on

Secman - 👊 Human-friendly and amazing secrets manager.

today I'll show you my amazing program...

GitHub logo scmn-dev / secman

[Archived] 👊 Human-friendly and amazing secrets manager.

Secman CLI

secman cli is a TUI password manager can store, retrieves, generates, and synchronizes passwords, The most important difference is secman is not GPG cored. Instead, it uses a master password to securely store your passwords. and you can easily manage your passwords from everywhere with Secman Cloud 😉.

Featuers

  • Not GPG cored.
  • It uses a master password to securely store your passwords.
  • It syncs your passwords.
  • Easy to use.
  • It is written in Go.
  • You can easily manage your passwords from everywhere, from desktop, web, terminal, and more.

Installation ⬇

Using script

  • Shell
curl -sL https://u.secman.dev | bash
Enter fullscreen mode Exit fullscreen mode
  • PowerShell
iwr -useb https://w.secman.dev | iex
Enter fullscreen mode Exit fullscreen mode

then restart your powershell

Homebrew

brew install scmn-dev/tap/secman
Enter fullscreen mode Exit fullscreen mode

Scoop

scoop bucket add secman https://github.com/scmn-dev/scoop
scoop install secman
Enter fullscreen mode Exit fullscreen mode

Usage

to learn about secman types, check out the secman types page.

Initialize ~/.secman

Command

secman init
Enter fullscreen mode Exit fullscreen mode

Flags

no flags

Manage secman's authentication state.

Command

secman auth
Enter fullscreen mode Exit fullscreen mode

Other Commands

create     Create a new secman account.
login      Authenticate with secman.
logout     Logout of the current user account.
refresh    Refresh the current user account.
Enter fullscreen mode Exit fullscreen mode

Flags

no flags

Insert a New Password

Command

secman insert --[PASSWORD_TYPE]
Enter fullscreen mode Exit fullscreen mode

Flags

-c, --credit-cards   Insert a credit card to your vault.
-e, --emails         Insert a email to your vault.
-l, --logins         Insert a login password to your vault.
-n, --notes          Insert a note to your vault.
-s, --servers        Insert a server to your vault.
Enter fullscreen mode Exit fullscreen mode

List all your passwords

Command

secman .
Enter fullscreen mode Exit fullscreen mode

Flags

no flags

Read a password

Command

secman read --[PASSWORD_TYPE] <PASSWORD_NAME>
Enter fullscreen mode Exit fullscreen mode

Flags

-c, --credit-cards   Read password from credit cards type.
-e, --emails         Read password from emails type.
-j, --json           Print password in JSON view.
-l, --logins         Read password from logins type.
-n, --notes          Read password from notes type.
-s, --servers        Read password from servers type.
-p, --show-hidden    Show hidden values.
Enter fullscreen mode Exit fullscreen mode

Update/Edit a password value

Command

secman edit --[PASSWORD_TYPE] <PASSWORD_NAME>
Enter fullscreen mode Exit fullscreen mode

Flags

-c, --credit-cards   Edit password from credit cards type.
-e, --emails         Edit password from emails type.
-l, --logins         Edit password from logins type.
-n, --notes          Edit password from notes type.
-s, --servers        Edit password from servers type.
Enter fullscreen mode Exit fullscreen mode

Delete a password

Command

secman delete --[PASSWORD_TYPE] <PASSWORD_NAME>
Enter fullscreen mode Exit fullscreen mode

Flags

-c, --credit-cards   Delete password from credit cards type.
-e, --emails         Delete password from emails type.
-l, --logins         Delete password from logins type.
-n, --notes          Delete password from notes type.
-s, --servers        Delete password from servers type.
Enter fullscreen mode Exit fullscreen mode

Generate a password

Command

secman generate --length 20
Enter fullscreen mode Exit fullscreen mode

Flags

-l, --length int   Set the length of the password. (default 10)
-r, --raw          Generate a password and print it.
Enter fullscreen mode Exit fullscreen mode

to learn more about secman commands run secman help

Some Resources

Other Secman Products

Contributing

Thanks for your interest in contributing to secman. You can start a development environment with gitpod:

open in gitpod

Special thanks ❤

thanks to @charmbracelet for thier awesome TUI libraries 🏗.

License

secman is licensed under the terms of MIT License

Top comments (0)