SAP Cloud Platform API Management – API Product Permissions
My first Blog Post of this new year should start officially… so here we go: “Happy, successful and healthy new year 2021!” 🙂
Whilst preparing a customer demo on my freshly configured SAP Cloud Platform Integration Suite (thus on Cloud Foundry), I wanted to setup the visibility in the Developer Portal for different roles (on an API Product).
As you know (and this would be a prereq), you can bundle API proxies (the API Management facade to an API implementation) within an API Product. On this product, you can apply different configurations like Quotas, Scopes, filter Resources, … and add access control for the Developer Portal – better known as “Permission“.
The question I asked myself is “How to I create a role on my SAP Cloud Platform so that i can chose from it in API Management?”.
Since the answer was not trivial, I will document it here – quite high-level, but you’ll get the idea.
This is where you can manage all of the roles of your sub-account.
Define your new role as needed in API Management:
Click on “Finish”.
In the Overview of the Role, click on “Edit”:
Now click on the “Role Collection” tab and click on “+”:
Now select the role collection you have just created and click on “Add”:
That’s it! You now select what roles are allowed to see your API Product in the Developer Portal once you have published it!