r-lib / keyring

:closed_lock_with_key: Access the system credential store from R
https://keyring.r-lib.org/
Other
196 stars 28 forks source link

Is there a way to change the keyring password for the file backend other than deleting and re-creating the keyring ? #126

Closed jbodart-argenx closed 1 year ago

jbodart-argenx commented 2 years ago

Hi, I'd like to be able to easily change the keyring password on the file backend, without having to delete it, recreate it and re-set all keys. I couldn't find a function / method for that. Does it already exist, or could it be implemented ?

gaborcsardi commented 2 years ago

Maybe there isn't a way? Right, @nbenn ?

samuel-colin-foph commented 1 year ago

@nbenn: if there is a way, I would be very interested as well.

gaborcsardi commented 1 year ago

Seems like there is no way, other than iterating over the secrets and copying them into a new keyring.