Skip to content

OCI identity integration

David Liu edited this page Feb 9, 2023 · 6 revisions
  1. In IDCS main page, go into menu item Oracle Cloud Services
  2. There is not a service searchable with keyword blockchain, the service naming convention is ${name of your OBP instance}_${OBP shoft 32 digit id, not ocid}
    • An Example: founder-wqm2fdsn3rnzsasnujhyvcrpk566ltwa
  3. Go to tab Application Roles, find list item REST_CLIENT, expanding the menu of it.
  4. Assign Users | Assign Groups to grant access to those
  5. Chill! Now you can use OBP Restful API with new granted identity

User-enrollment association

The above granted Rest Client User, have access to most of OBP Restful API, except for blockchain chaincode query/invoke API. To further enable this, we need to

  1. Identify a customized enrollment, if there is none, try to create one
    • There is a default enrollment named defaultuser. Re-using it for listing/association is not allowed.
  2. Associate the Rest Client User with the customized enrollment
  3. Verify the associated users of the customized enrollment

Path 2.1 Create an IDCS Confidential Application

  • In Configure this application as a client now, under Authorization, select grant types Resource Owner and Client Credentials

Clone this wiki locally