In OpenShift Container Platform, how to reserve a particular form of user authentication method for a particular type of cluster login method?

Solution Verified - Updated -

Issue

  • When configuring two login authentication methods via master-config.yaml file, just want to able to use one of the methods for user who are login via Web/GUI and use another method only for users who login via CLI (# oc login command ).
  • How to reserve a particular form of authentication method(LDAP / htpasswd) for a particular type of login method(Web / CLI)?

Environment

  • OpenShift Container Platform 3.11

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content