Test: Manage users on OpenShift - stolostron/search-v2-operator GitHub Wiki

  • Use htpasswd to generate test users.

    htpasswd -cb ./users.htpasswd user1 pass1
    htpasswd -b ./users.htpasswd user2 pass2
    htpasswd -b ./users.htpasswd user3 pass3
    
  • From the OCP console register the new Identity Provider and provide the users.htpasswd file.

    NOTE: It may take a few minutes for the new Identity Provider to be available.

  • In the OCP login page select the new identity provider (htpasswd) and login with the user.

    PRO TIP: Use an incognito browser window so you can log with the kubeadmin in another browser window.

  • With the kubeadmin user, assign roles to the user.