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

feature: basic key management? #58

Open
edaniszewski opened this issue Jan 30, 2020 · 0 comments
Open

feature: basic key management? #58

edaniszewski opened this issue Jan 30, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@edaniszewski
Copy link
Contributor

A feature that I think could be nice for sctl, particularly if you use multiple keys, or if you're a noob and want an easy way to use keys, is basic key management. My idea being that sctl uses a config file (perhaps ~/.sctlcfg) which can hold key state. In it would be something like

keys:
  alias: key

or

keys:
- alias: foo
  key: bar

The --keys flag could then use the alias as a shorthand instead of a long key name, e.g.

sctl add --key foo

but it shouldn't prevent you from using the key itself

sctl add --key some/long/key

It would require something like a keys subcommand..

sctl
   key
     add
     list
     remove

Some additional food for thought is the idea of having a "default" key set, so if no --key flag is set, just use the default. This might be overkill given that its really only useful for when a new .scuttle.json is being created, as the key gets defined in there afterwards.

@edaniszewski edaniszewski added the enhancement New feature or request label Jan 30, 2020
@lazypower lazypower added this to the Sprint 4/7/2020-05/01/2020 milestone Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants