Skip to content

Commit 892d832

Browse files
committed
BZ-1693416: Removed references to passwords in login commands.
1 parent 46286b0 commit 892d832

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

modules/cli-developer-basic.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ use.
2424
$ oc login
2525
----
2626

27-
.Example: Log in specifying a user name and password
27+
.Example: Log in specifying a user name
2828
----
29-
$ oc login -u user1 -p mypassword
29+
$ oc login -u user1
3030
----
3131

3232
== new-app

modules/identity-provider-add.adoc

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@ users can authenticate.
2525

2626
.Procedure
2727

28-
. Log in to the cluster as the `kube-admin` user:
28+
. Log in to the cluster as the `kube-admin` user, entering the password
29+
when prompted:
2930
+
3031
----
31-
$ oc login -u kubeadmin -p <password>
32+
$ oc login -u kubeadmin
3233
----
3334

3435
. Apply the defined CR:
@@ -37,10 +38,11 @@ $ oc login -u kubeadmin -p <password>
3738
$ oc apply -f </path/to/CR>
3839
----
3940

40-
. Log in to the cluster as a user from your identity provider.
41+
. Log in to the cluster as a user from your identity provider, entering the
42+
password when prompted.
4143
+
4244
----
43-
$ oc login -u <username> -p <password>
45+
$ oc login -u <username>
4446
----
4547

4648
. Confirm that the user logged in successfully, and display the user name.

0 commit comments

Comments
 (0)