Bug 1383518 - Please Shorten 'oc login --insecure-skip-tls-verify=true'
Summary: Please Shorten 'oc login --insecure-skip-tls-verify=true'
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Fabiano Franz
QA Contact: Xingxing Xia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-10 22:10 UTC by Nick Schuetz
Modified: 2016-10-11 17:25 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-11 17:25:58 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Nick Schuetz 2016-10-10 22:10:43 UTC
Description of problem:

The `oc login --insecure-skip-tls-verify=true` switch is hard to remember and lengthy.

Version-Release number of selected component (if applicable):

3.3.0.34

How reproducible:

Always

Steps to Reproduce:
1. Access a certificate that is deemed insecure by the oc client on the OpenShift Master API.
2.
3.

Actual results:


Expected results:

Perhaps shorten it to 'oc login --insecure' and/or '-i'

Additional info:

Comment 1 Fabiano Franz 2016-10-11 17:25:58 UTC
Although we understand that bypassing the TLS verification is common in local or development environments, that's not something we would like to encourage. Users must be aware of the implications and the fact that's used as a workaround, not a primary path. Command line completions might help to address the lengthy/hard to remember issue.


Note You need to log in before you can comment on or make changes to this bug.