Digital Developer Conference: Hybrid Cloud
  • Introduction
  • Getting Started
    • Pre-work
  • Threat Modeling & Identity Management
    • Lecture
      • Threat Modeling
      • Identity Management
      • Prerequisites
    • Lab 1
      • Clone the repo
      • Creating App ID in IBM Cloud
      • Building the front end service
      • Deploying to OpenShift
      • Test the Simulator
  • Operator Workshop
    • Lecture
      • Introduction
    • Lab 2
      • Install the PostgreSQL Operator
      • Create an instance of a database
      • Load the schema
      • Expose and verify
  • Microservice Workshop
    • Lecture
      • Introduction
      • Prerequisites
    • Lab 3
      • Part 1
      • Part 2
  • Microservice Workshop (OSS)
    • Lecture
      • Introduction
      • Prerequisites
    • Lab
      • Database setup
      • Part 1
      • Part 2
  • Serverless Workshop
    • Introduction
      • Example Bank App Architecture
      • Serverless
      • Prerequisites
      • Quick Install - Identity Management, Operator, Microservices Workshops
    • Lab 4
      • Installing OpenShift Serverless
      • Installing Knative Serving
      • Clone the repo
      • Create an admin scoped user
      • Building the example serverless application
      • Configure Deployment file
      • Deploying to OpenShift Serverless
      • Test the Serverless App
      • Modify Serverless App
      • Conclusion
  • Service Mesh Workshop
    • ServiceMesh Lab
  • Pipelines (Tekton) Workshop
    • Lecture
      • What is tekton?
      • CI/CD
      • Explain tasks and pipelines
    • Lab 6
      • Cluster Setup
      • Install Pipeline
  • Resources
    • IBM Developer
Powered by GitBook
On this page
  • 1. Create a user
  • 2. Add the role to the user
  • 3. Create a secret for the user with the admin scope

Was this helpful?

  1. Serverless Workshop
  2. Lab 4

Create an admin scoped user

PreviousClone the repoNextBuilding the example serverless application

Last updated 4 years ago

Was this helpful?

A user with an admin scope is required to access the API that rewards the transactions with points from the transactions microservice (from the microservices lab). You can create one from the App ID dashboard

1. Create a user

In this example, you can create a user with a username of admintest and a password of password. If you choose a different one, take note of it for later use.

Creating a user using the App ID dashboard

2. Add the role to the user

To add a role, go to the section Cloud Directory > Users and click on the + sign beside the "No roles assigned to user". Then choose the admin.

3. Create a secret for the user with the admin scope

$ oc create secret generic bank-oidc-adminuser-workshop --from-literal=APP_ID_ADMIN_USER=<your-username> --from-literal=APP_ID_ADMIN_PASSWORD=<your-password>
Adding a role to the user you just created
Choose admin role and save