How can I pass login credentials for my OpenShift cluster through the command line in order to automate logging in?
Issue
I would like to write some bash scripts in order to automate tasks. Is there a way to login from the CLI by providing credentials in the oc login command?
Environment
Red Hat OpenShift Container Platform
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.