ssh-vault icon indicating copy to clipboard operation
ssh-vault copied to clipboard

have a config file

Open nbari opened this issue 8 years ago • 0 comments

Some users have many keys, others don't use GitHub etc, the idea then is to have a config file in where the user/key could be related and therefore simplify the process of exchanging messages.

Priority is given to the config file but can be overwritten by command line parameters, for example if in config there is an entry like:

 userX: 
     index: 3

When doing something like:

ssh-vault -u userX create 

It should use the key number 3

or when having something like:

userX:
    path: /path/to/key

when dong ssh-vault -u userX create it will use the key on the path,

nbari avatar Nov 10 '17 16:11 nbari