vmware-archive / priam

Go CLI tool for VMware Identity Manager portal
8 stars 8 forks source link

Login: support specifying domain #6

Closed fstrudel closed 8 years ago

fstrudel commented 8 years ago

The same user can exist in different domains, so allow the user to specify the domain when logging in. Default is "Local Users"

Testing Done: $ make

$ ./priam login -d foo alohauser1 'password' Domain: foo Error getting access token: 401 Invalid credentials.

$ ./priam login alohauser1 'password' Domain: Local Users Access token saved

$ ./priam login alohauser1 Domain: Local Users Password: Access token saved

Bug Number: 1