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

Secret editor on the CLI #78

Closed
robert-cronin opened this issue Aug 12, 2020 · 3 comments
Closed

Secret editor on the CLI #78

robert-cronin opened this issue Aug 12, 2020 · 3 comments
Assignees
Labels
development Standard development enhancement New feature or request

Comments

@robert-cronin
Copy link
Contributor

This issue is based on #30 (comment)
Basically we want to be able to do something like

pk secrets ed vault1:secret1

and have it open in the default editor.

Here is how you do it in shell:

tmpfile=$(mktemp /tmp/abc.XXXXXX)
exec {fd}<> "$tmpfile"
rm -f "$tmpfile"
vim "/proc/self/fd/$fd"
cat <&${fd}

we just need to figure out how to have it triggered in JavaScript

@robert-cronin robert-cronin added enhancement New feature or request development Standard development labels Aug 12, 2020
@robert-cronin robert-cronin self-assigned this Aug 12, 2020
@CMCDragonkai
Copy link
Member

CMCDragonkai commented Aug 12, 2020 via email

@CMCDragonkai
Copy link
Member

CMCDragonkai commented Aug 12, 2020 via email

@robert-cronin
Copy link
Contributor Author

Closing on account of migration to gitlab

CMCDragonkai pushed a commit that referenced this issue Jan 18, 2021
Vault Management

Closes #152, #150, #149, #147, #81, #139, and #78

See merge request MatrixAI/Engineering/Polykey/js-polykey!131
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development Standard development enhancement New feature or request
Development

No branches or pull requests

2 participants