I still haven't found a way to do this properly. The way I'm currently handling it is:
- Deploy with
Raven/AnonymousAccess
set toAdmin
- Set the ApiKeys manually
- Redeploy with
Raven/AnonymousAccess
set toNone
Not the best way, but at the moment, I can't find a better way.