You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ccs-gcp-customer-procedure-wif.adoc
+3-3
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ For more information about the support scope of Red Hat Developer Preview featur
61
61
$ ocm login --use-auth-code
62
62
----
63
63
+
64
-
Running this command will redirect you to the Red Hat SSO login.
64
+
Running this command will redirect you to the Red Hat SSO login. Log in with your Red{nbsp}Hat login or email.
65
65
+
66
66
.. If you are working with containers, remote hosts, and other environments without a web browser, run the Red{nbsp}Hat single sign-on (SSO) device code command for secure authentication:
67
67
@@ -71,11 +71,11 @@ Running this command will redirect you to the Red Hat SSO login.
71
71
----
72
72
$ ocm login --use-device-code
73
73
----
74
-
Running this command will redirect you to the RedHat SSO login and provide a log in code.
74
+
Running this command will redirect you to the Red{nbsp}Hat SSO login and provide a log in code.
75
75
76
76
+
77
77
78
-
To switch accounts, logout from https://sso.redhat.com and run the `ocm logout` command before attempting to login again.
78
+
To switch accounts, logout from https://sso.redhat.com and run the `ocm logout` command in your terminal before attempting to login again.
Copy file name to clipboardExpand all lines: modules/rosa-configure.adoc
+14-12
Original file line number
Diff line number
Diff line change
@@ -10,11 +10,11 @@ Use the following commands to configure the {product-title} (ROSA) CLI, `rosa`.
10
10
11
11
[id="rosa-login_{context}"]
12
12
== login
13
-
There are several methods you can use to log into your Red{nbsp}Hat account using the {product-title} (ROSA) CLI (`rosa`).These methods are described in detail below.
13
+
There are several methods you can use to log into your Red{nbsp}Hat account using the {product-title} (ROSA) CLI (`rosa`).These methods are described in detail below.
14
14
15
15
[IMPORTANT]
16
16
====
17
-
An offline authentication token is long-lived, stored on your operating system, and cannot be revoked. These factors increase overall security risks and the likelihood of unauthorized access to your account. Alternatively, the Red{nbsp}Hat secure browser-based single sign-on (SSO) method automatically sends your CLI instance a refresh token that is valid for 10 hours. Because this authorization code is unique and temporary, it is more secure and the Red{nbsp}Hat recommended method of authentication.
17
+
An offline authentication token is long-lived, stored on your operating system, and cannot be revoked. These factors increase overall security risks and the likelihood of unauthorized access to your account. Alternatively, the Red{nbsp}Hat secure browser-based single sign-on (SSO) method automatically sends your CLI instance a refresh token that is valid for 10 hours. Because this authorization code is unique and temporary, it is more secure and is the Red{nbsp}Hat recommended method of authentication.
18
18
====
19
19
20
20
// Furthermore, offline authentication tokens are usually stored on your device by your operating system, which means other apps on your machine can access a token if the token is not properly secured. These offline tokens are long-lived and cannot be revoked. Users must copy and paste them manually which creates a security risk. Because of these factors, Red{nbsp}Hat recommends using the single sign-on method when logging into your account with the ROSA CLI (`rosa`). This method is more secure than logging in with an offline token.
@@ -34,7 +34,7 @@ If your system supports a web-based browser, you can log in to the ROSA CLI (`ro
34
34
$ rosa login --use-auth-code
35
35
----
36
36
+
37
-
Running this command will redirect you to the Red{nbsp}Hat SSO login.
37
+
Running this command will redirect you to the Red{nbsp}Hat SSO login. Log in with your Red{nbsp}Hat login or email.
38
38
+
39
39
.Optional arguments inherited from parent commands
40
40
[cols="30,70"]
@@ -49,7 +49,7 @@ Running this command will redirect you to the Red{nbsp}Hat SSO login.
49
49
50
50
|===
51
51
+
52
-
To switch accounts, logout from link:https://sso.redhat.com[https://sso.redhat.com] and run the command `$ rosa logout` before attempting to login again.
52
+
To switch accounts, logout from link:https://sso.redhat.com[https://sso.redhat.com] and run the `rosa logout` command in your terminal before attempting to login again.
53
53
54
54
[id="rosa-login-sso-device_{context}"]
55
55
=== login with a single sign-on device code
@@ -79,7 +79,7 @@ Running this command will redirect you to the Red Hat SSO login and provide a lo
79
79
80
80
|===
81
81
+
82
-
To switch accounts, logout from link:https://sso.redhat.com[https://sso.redhat.com] and run `rosa logout` before attempting to login again.
82
+
To switch accounts, logout from link:https://sso.redhat.com[https://sso.redhat.com] and run the `rosa logout` command in your terminal before attempting to login again.
83
83
84
84
85
85
[id="rosa-login-token_{context}"]
@@ -96,19 +96,21 @@ To use service accounts for automation purposes, see the link:https://console.re
96
96
Red{nbsp}Hat recommends using service accounts for automation purposes.
97
97
====
98
98
99
-
The ROSA CLI (`rosa`) looks for a token in the following priority order:
99
+
// The ROSA CLI (`rosa`) looks for a token in the following priority order:
100
100
101
-
. Command-line arguments
102
-
. The `ROSA_TOKEN` environment variable
103
-
. The `rosa` configuration file
104
-
. Interactively from a command-line prompt
101
+
// . Command-line arguments
102
+
// . The `ROSA_TOKEN` environment variable
103
+
// . The `rosa` configuration file
104
+
// . Interactively from a command-line prompt
105
105
106
+
. To log in to ROSA CLI (`rosa`) with a Red{nbsp}Hat offline token, run the following command:
0 commit comments