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!
Hi Sven Huberti,
Good Article. We have already implemented this in our project but it would be really helpful for others.
Small Suggestion: If you could add when should we use this tools and what are the best way to utilize this option. Example: What are the different types of discovery we can use and what is the ideal way, different types of subscription options that are ideal and best way's to use.
Something like Best Practices for using it would really go a long way in improving the article.
Other than that, explaination is very clear. Thanks for the article.
Br/ Sai Sreenivas Addepalli.