Hi Marcos,
You can serialize the repository with all needed metadata using the Save method of the RfcRepository class. In the productive version of your application you instantiate an instance of RfcCustomRepository and use Load to restore the complete metadata. In addition, you don't provide a REPOSITORY_DESTINATION for the server, but set the repository in your code to the property Repository before starting the server. Then you will not need client credentials. Drawback of such an approach: In case you need to modify the structure somehow, you will need to re-generate the serialized repository and re-ship this instead of simply clearing the cache of the repository and do a new lookup.
Best regards,
Markus