cumulocity.json documentation

There seems to be no useful documentation for cumulocity.json. What are the allowed values for requiredRoles, resources, etc?

Specifically, I want to be able to add permission to a microservice to get device credentials, but ROLE_DEVICE_CONTROL_ADMIN does not work. And yes, I had to find out that string by testing it in the dumbest way possible - uploading archives with different values for cumulocity.json. Fun! I did not find the right string for credentials, though.

Some help would really be appreciated.

1 Like

Hi Giovanni,

which parts of the documentation have you checked? There are some pages on the role models in Cumulocity, which should cover your questions.

best regards
Michael