Optum / dce-cli

Disposable Cloud Environment CLI
Apache License 2.0
37 stars 19 forks source link

Auth Command #2

Closed joshmarsh closed 4 years ago

joshmarsh commented 4 years ago

Opens browser at url taken from config or flag. Prompts user to login and copy/paste their credentials in the terminal.

Set url in config:

Admin:
  MasterAccount:
    Profile: <insert .aws profile name>
Auth:
  LoginUrl: <login-url> 

Or override with flag: dce auth --url-override <login-url> may be used to override the login url