crc
crc copied to clipboard
Add a secret config type to store secrets in the OS provided secret store
trafficstars
It'll be useful to have a way to store a password/pull-secret in the OS key store directly using the crc config commands.
The end result would be:
- e.g
crc config set smb-share-password crcpass(its stored in the OS secret store and 'crcpass' is not written to ~/.crc/crc.json) crc config viewshould mask the value ofsmb-share-passwordin its output
The cli for crc config <cmd> would also need to be modified.. by adding a --show-secrets (or similarly named) flag
crc config setwill remain the same for setting both a normal and secret setting, whereascrc config getandcrc config viewwill have a new--secretflag to fetch values from the secret config store
by default --secret boolean flag will be false, i.e get and view will not display the values of the secrets