amplafi / amplafi-flow-client

Standard Java Client side library to interact with an Amplafi-Flow-Server
4 stars 0 forks source link

Ask for su api key if keyfile is missing or specified key is invalid #9

Open aectann opened 11 years ago

aectann commented 11 years ago

Make the configuration easier. If su key is missing or invalid (which is going to happen very frequently; remember we invalidate those on server restart?), make the tool to ask for a new key interactively.

Once a valid key provided, save it to the keyfile.