Custom username and password for API access

Thanks for the help and info Vincent. In case anyone else is looking to do this here is how I did it:

  1. default rancher install with no auth set up on the web UI

  2. run the below

curl -X POST \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-d '{"type":"apikey", "accountId":"1a5", "publicValue":"test", "secretValue":"test"}' \
'http://HOST_NAME:8080/v1/apikeys'
  1. lock the web UI down!