Pre-generate an API key pair outside Rancher

Is there any way I can pre-generate the API access/secret key pair, outside of Rancher?

I’m building an automated setup that will invoke, at Amazon, a fresh infrastructure including VPC, management server hosting a SSL/basic auth protected Docker Registry, Rancher and Jenkins - it is almost running single click.

One thing that would make it much smoother is if I could tell Rancher “use this key pair” as I can then just pass it to all the applications that need it, rather than having them wait to retrieve them from Rancher.

Any chance this is possible?

When access control is off you can provide the accessKey/secretKey instead of generating one… Custom username and password for API access

Many thanks, I’ll give that a read through and try it out!