EasyEngine / auth-command

4 stars 9 forks source link

Auth-Command structure #2

Closed mbtamuli closed 6 years ago

mbtamuli commented 6 years ago

Site specific

Only username and password

# Set HTTP auth with username=easyengine (default) and random password for example.com
ee auth create example.com

# Set HTTP auth with username=test and random password for example.com
ee auth create example.com --user=test

# Set HTTP auth with username=test and password=pass for example.com
ee auth create example.com --user=test --pass=test

Following will overwrite whichever key is passed

 ee auth update example.com --user=test --pass=mylongpassword

Set

ee auth update example.com --ip=1.1.1.1,2.2.2.2,3.0.0.0/8

Reset

ee auth update example.com --ip=off
ee auth info example.com
ee auth delete example.com
mrrobot47 commented 6 years ago

Closing in favor of new structure as proposed in https://github.com/EasyEngine/auth-command/issues/3