CHFD Practice Questions - Certified Hyperledger Fabric Developer (CHFD) Exam

Access More Questions
A chaincode method needs to allow only callers that hold the attribute `role=auditor` on their x509 certificate. Which approach is correct in Fabric v2.2 Node.js chaincode?
Correct Answer:
Use `ctx.clientIdentity.assertAttributeValue('role', 'auditor')` to enforce ABAC

Access more questions from this quiz

Continue to CHFD Practice Questions - Certified Hyperledger Fabric Developer (CHFD) Exam for more practice questions and the full quiz experience.

Access More Questions