Extend oc token validity at Openshift Online/ OpenShift Container Platform

Solution In Progress - Updated -

Issue

  • The token provided by OpenShift (via https://console.xxxx.openshift.com/console/command-line) expires too shortly.
  • Would like to know how long it lengths.
  • Is there a way to extend the expire time of the oc token and/or to set it to unlimited time.

Environment

  • Openshift Online, v3

  • OpenShift Container Platform, v3+

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