whi-tw / mykman

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mykman - ykman for pass otp

Requirements

Installation

  1. Add mykman to your PATH - most useful if you add it as ykman via a symlink
  2. Add some otp codes to your pass store
  3. create ~/.mykman.yml, as-per mykman-example.yml, as top level name:path/within/pass pairs.

Usage

Only list and code are supported currently. These both output in the same way as their ykman oath equivalents:

With stderr output as normal:

$ ykman oath code some-aws-account
mykman: oath request for some-aws-account
some-aws-account 123456

With stderr redirected to /dev/null:

$ ykman oath code some-aws-account 2>/dev/null
some-aws-account 123456

About


Languages

Language:Ruby 100.0%