diff options
author | Bruno Wagner <bwagner@thoughtworks.com> | 2014-10-22 18:28:10 +0200 |
---|---|---|
committer | Bruno Wagner <bwagner@thoughtworks.com> | 2014-10-22 18:28:23 +0200 |
commit | 23a1770d1778c7d150016f4f23a3b95d74680274 (patch) | |
tree | 99b139194e468781f7be28681fcd2ff797af1fd3 /service/pixelated/config | |
parent | a2e4f6e4816d4f0d92888b577b76153cf8c65e19 (diff) |
Credentials will be asked for when spinning up the user agent now, if you want to use the config file you have to explicitly set the --config=file switch on the pixelated_user_agent
Diffstat (limited to 'service/pixelated/config')
-rw-r--r-- | service/pixelated/config/credentials_prompt.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/service/pixelated/config/credentials_prompt.py b/service/pixelated/config/credentials_prompt.py new file mode 100644 index 00000000..34369405 --- /dev/null +++ b/service/pixelated/config/credentials_prompt.py @@ -0,0 +1,7 @@ +import getpass + +def run(): + provider = raw_input('Which provider do you want to connect to:\n') + username = raw_input('What\'s your username registered on the provider:\n') + password = getpass.getpass('Type your password:\n') + return provider, username, password |