mrs

command module
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2021 License: MIT Imports: 3 Imported by: 0

README

Mr. Secretary (mrs) - Organise and secure your secrets

mrs is a secrets manager for Linux and macOS.

Features

  • Organise your secrets into one or more encrypted "vaults"
  • Edit your secrets using the editor of your choice
  • Search through your secrets using regular expressions
  • Import and export your secrets
  • Encrypt your secrets with 256-bit AES-GCM

Usage

$ mrs help
Mr. Secretary - Organise and secure your secrets

Usage:
  mrs [command]

Examples:
	mrs create --vault name
	mrs edit
	mrs search 'secret stuff'

Available Commands:
  add         Add secrets to a vault
  edit        Edit secrets in a vault
  help        Help about any command
  search      Search through secrets in a vault
  vault       Manage vaults

Flags:
  -h, --help   help for mrs

Use "mrs [command] --help" for more information about a command.
$ mrs help vault
Manage vaults

Usage:
  mrs vault [command]

Available Commands:
  change-password Change a vault's password
  create          Create a vault
  delete          Delete a vault
  export          Export secrets from a vault
  get-default     Print the default vault
  list            List all vaults
  rename          Rename a vault

Flags:
  -h, --help   help for vault

Use "mrs vault [command] --help" for more information about a command.

Configuration

You can use environment variables to customize some settings.

Environment variable Description
EDITOR The editor to use to add or edit secrets (default: nano)
MRS_DEFAULT_VAULT_NAME The vault to use when --vault is not specified (default: the first vault found)
MRS_HIDE_EDITOR_INSTRUCTIONS If set to any value, then instructions comments will not be included when adding or editing secrets
MRS_HOME The directory where mrs stores encrypted vault files (default: ${HOME}/.local/share/mrs)
MRS_TEMP The directory where mrs stores temporary decrypted files (default $XDG_RUNTIME_DIR)

Developing

See the Makefile.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
internal
fs

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL