Request role using Switchboard

To acquire the application-level enterprise user roles, simply visit the Switchboard web dApp and follow below steps:

  1. Connect your EWC Account using Metamask

  2. Confirm the sign-in request

  3. Confirm the signature request

  4. The screen redirects to the dashboard where the DID of the enterprise user is displayed as highlighted in the red box

  5. Search for the application namespace which contains the target role in the search bar provided. The search result will be displayed on a list. Click on the result item to view the application details including the list of available roles. ℹ️ 💁 For this example, let's use the EW Digital Spine Message Broker application namespace (dsmb.apps.ddhub.energyweb.auth.ewc).

  6. The screen displays the application details including the list of available roles. Click on the "Enrol" icon as highlighted in the second screenshot below. ℹ️ 💁 For this example, the EW Digital Spine Message Broker application has two available roles: user and topiccreator

  7. The enrolment screen will be displayed. Input the target values to the enrolment fields provided. Then, click "Submit Request" button.

  8. Confirm the requested transactions

  9. After successful confirmation of the enrolment request transactions, the screen redirects to "My Enrolments" page which shows the list of role requests together with their respective status. ℹ️ 💁 Newly requested roles will have the Pending status. This means that the role request is waiting for the approval from the verifiable credentials issuers who are typically the administrators of the application namespace.

  10. Once the status has changed to Approved, the role is now ready to be published as a VC in the DID Document of the enterprise user. Only the published VC is honoured in the Digital Spine ecosystem. To publish, simply click on the "Publish" icon as shown in the illustration below.

  11. Confirm the action

  12. Confirm the transactions prompted in your wallet account

  13. Once the transactions are confirmed, the "Publish" icon will disappear. This means that the VC has been published successfully.

Last updated