I have configured composer-rest-server. I had also provided fabric username/password while configuring composer-rest-server (WebAppAdmin or admin). Now, I can able to access REST API without providing any credentials (through postman or loopback).
I would like to understand how we can secure composer-rest-server. Though, I have understood that we can add participant and issue identity, but not able to connect logical dots in context of how everything will work.
- How to secure composer-rest-server while accessing REST API?
- When and How we are going to use "username/secret" registered against any participant?
- When to authenticate composer-rest-server API and When to use participant identity to access business network?