Skip to content

Commit 4db37ad

Browse files
allmightyspiffGitHub Enterprise
authored andcommitted
Merge pull request #6 from Robert-Houtenbrink/master
Prompt for password, change default endpoint
2 parents b8c548b + 5f8c0aa commit 4db37ad

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ The config file is located at `~/.softlayer` or `~/AppData/Roaming/softlayer` fo
3232
Your config file should look something like this for using the islcli. Beware the `islcli` and `slcli` use the same config for the moment. You need to set `verify = False` in the config because the internal endpoint uses a self-signed SSL certificate.
3333

3434
.. code-block:: bash
35-
3635
[softlayer]
37-
username = imsUsername
36+
timeout = 600
3837
verify = False
39-
endpoint_url = https://internal.app0lb.dal10.softlayer.local/v3/internal/xmlrpc/
40-
38+
username = imsUsername
39+
endpoint_url = http://internal.applb.dal10.softlayer.local/v3.1/internal/xmlrpc/
40+
userid = imsUserId
4141
4242
4343
Basic Usage

SoftLayer/CLI/login.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def cli(env):
5656
if username is None:
5757
username = input("Username: ")
5858
click.echo("Username: {}".format(username))
59-
if password is None:
59+
if not password:
6060
password = env.getpass("Password: ")
6161
click.echo("Password: {}".format(censor_password(password)))
6262
yubi = input("Yubi: ")

0 commit comments

Comments
 (0)