Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Add ability to pipe commands #1153

Open
jptechnical opened this issue Dec 13, 2023 · 0 comments
Open

✨ Add ability to pipe commands #1153

jptechnical opened this issue Dec 13, 2023 · 0 comments

Comments

@jptechnical
Copy link

jptechnical commented Dec 13, 2023

Add the ability to pipe commands, specifically for retrieving secrets. This would greatly accelerate the day-to-day use of this in the terminal. Ideally, this should be possible via your actual bash/powershell/etc., but invoking the keeper command requires a login every time it is run (or --config path/to/config.json, but I still think a login takes place).

For instance, to retrieve a record detail, it requires two separate commands, some scrolling (see this bug report), and possibly some copy and paste. It should be possible on a one-liner.

You should be able to do the following in keeper shell:

s  [email protected] | g --unmask

This sequence of commands below is what is currently required.

My Vault>  s  [email protected]

  #  record uid              type    title                 description
---  ----------------------  ------  --------------------  --------------------
  1  xxxxxxxxxxxxxxxxxxxxxx  login   hourglass testflight  [email protected]
                 uid: xxxxxxxxxxxxxxxxxxxxxx
                type: login
               title: hourglass testflight
                    ...
             (login): [email protected]
          (password): ********
                    ...

My Vault> g XXXXXXXXXXXXXXXXXXXXXX  --unmask
                 UID: XXXXXXXXXXXXXXXXXXXXXX
                Type: login
                    ...
             (login): [email protected]
          (password): !9v5D$chxuNTpa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant