crc icon indicating copy to clipboard operation
crc copied to clipboard

[BUG] No easy way to change (or remove) pull-secret

Open gbraad opened this issue 4 years ago • 4 comments

When the pull-secret is stored in secure storage, it is difficult to change this to another one. This can happen when the pull-secret is revoked or has to be changed. However when the pull-secret API is used to store a copy&pasted pull-secret, it is not possible to use crc config to reset or unset it. Only crc cleanup allows for the removal, but this command has too many side-effects.

gbraad avatar Jul 13 '21 13:07 gbraad

A possible solution would be to use crc config set/unset pull-secret as an abstracted (intercepted) config option to deal with the pull secret API.

however, when crc config view is used, only ******** is shown to indicate a value has been given.

gbraad avatar Jul 13 '21 14:07 gbraad

Should we instead document how the user can remove it by using the os provided tools (keychain in macos and credential manager on windows)? my concern is having both pull-secret and pull-secret-file as config options would be confusing.

anjannath avatar Jul 21 '21 04:07 anjannath

Should we ... document how the user can remove it by using the os provided tools...?

Yes, please, including Linux.

ben-alkov avatar Jul 22 '21 16:07 ben-alkov

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 21 '21 01:09 stale[bot]