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
doc : Add steps to remove CRC pull secret from OS provided tools (#2572)
Add steps for Windows, Linux (GNOME) and MacOS to instruct user on how
to remove the CRC pull secret from credential managers on abovementioned
Operating Systems.
Signed-off-by: Rohan Kumar <rohaan@redhat.com>
When using the {openshift} or {ushift} preset, {prod} requires your pull secret:
101
+
102
+
. To pull the virtual machine bundle.
103
+
. To pull {ocp} container images from the Red Hat registry.
104
+
105
+
When you run [command]`{bin} start` the first time, when the pull secret has not been provisioned, {prod} prompts you to provide your pull secret.
106
+
107
+
=== Providing your pull secret to {prod}
108
+
109
+
.Prerequisites
110
+
. Download your pull secret from the Pull Secret section of the link:https://console.redhat.com/openshift/create/local[{prod} page on the {rh} Hybrid Cloud Console] to _<your_pull_secret_file>_ location.
111
+
112
+
.Procedure
113
+
* Enter your pull secret value when {prod} prompts you to provide your pull secret.
114
+
{prod} stores the pull secret in the Operating System's credential manager so that {prod} doesn't ask for pull secret again in case you delete existing cluster and create a new one.
115
+
+
116
+
[subs="+attributes,+quotes"]
117
+
----
118
+
$ {bin} start
119
+
...
120
+
? Please enter the pull secret
121
+
----
122
+
+
123
+
[TIP]
124
+
====
125
+
Alternatively, specify your pull secret file location by using the `--pull-secret-file` CLI argument.
Alternatively, specify your pull secret file location by setting the `pull-secret-file` configuration.
135
+
[subs="+attributes,+quotes"]
136
+
----
137
+
$ {bin} config set pull-secret-file _<your_pull_secret_file>_
138
+
$ {bin} start
139
+
----
140
+
====
141
+
142
+
Please note that this pull secret would only be removed from the Operating System's credential manager when user runs [command]`{bin} cleanup` command.
143
+
144
+
If you manually want to remove or update the pull secret from your Operating System's credential manager configuration.
145
+
146
+
[id='clearning-credential-manager-pullsecret']
147
+
=== Clearing Pull Secret from Credential Manager
148
+
Steps to clear entries from the Credential Manager on different operating systems.
149
+
150
+
==== Windows
151
+
152
+
. Open the Control Panel.
153
+
. Go to `User Accounts` > `Credential Manager`.
154
+
. Choose `Windows Credentials`.
155
+
. Find the {prod} pull secret entry you want to delete.
156
+
. Click on the entry to expand it.
157
+
. Click `Remove` to delete the credential.
158
+
159
+
==== Linux
160
+
161
+
If you're using https://wiki.gnome.org/Projects/GnomeKeyring[GNOME Keyring]:
162
+
163
+
. Open the `Activities` overview and start typing `Passwords`.
164
+
. Click on `Passwords and Keys` to open https://wiki.gnome.org/Projects/GnomeKeyring[GNOME Keyring].
165
+
. Click on `Login` entry under `Passwords`
166
+
. Find the {prod} pull secret entry you want to delete.
167
+
. Right-click the entry you want to delete.
168
+
. Select `Delete` and confirm the deletion.
169
+
170
+
If you're using https://github.com/KDE/kwallet[KDE Wallet]:
171
+
172
+
[NOTE]
173
+
====
174
+
By default, https://github.com/KDE/kwallet[KDE Wallet] doesn't operate as a Secret Service Provider. We need to explicitly
175
+
enable it by going to `System Settings` > `KDE Wallet` and enable Use KWallet for the Secret Service interface. Then you should
176
+
be able to use {prod} with https://github.com/KDE/kwallet[KDE Wallet]
177
+
====
178
+
179
+
. Open the `Application Launcher` and start typing `KWalletManager`.
180
+
. Under `Contents` tab, click on `Secret Service` and expand it.
181
+
. Under expanded `Secret Service` entry, click on `Passwords` and expand it.
182
+
. Find the {prod} pull secret entry you want to delete.
183
+
. Right-click the entry you want to delete.
184
+
. Select `Delete` and confirm the deletion.
185
+
186
+
==== MacOS
187
+
188
+
. Open `Keychain Access` from the `Applications` > `Utilities` folder.
189
+
. Select the keychain where the credential is stored (e.g., `login`, `iCloud`).
190
+
. Find the {prod} pull secret entry you want to delete.
0 commit comments