Thanks for the help and info Vincent. In case anyone else is looking to do this here is how I did it:
-
default rancher install with no auth set up on the web UI
-
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'
- lock the web UI down!