How to extend login duration for one RHOCP user only?

Solution Verified - Updated -

Issue

  • Need to extend the login duration for only one user;

  • A user is managed outside OpenShift (i.e. LDAP) and the service linked to it can't run with a service account. How to extend the login duration for this user?

  • Need of permanent oc login token as oc login token is expiring in 24 hours.

  • Need oc login token from command line that will never expire.

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4

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