[duplicacy-web] update storage API keys

How can I update the API keys used by a storage in the web UI?

I found this related post about renaming storages (just editing plain text), but the password and API keys seem to be encrypted so the workaround in that thread doesn’t seem to work here.

I tried adding a new storage with the new API keys so I could copy/paste them over the old ones in duplicacy.json; but it looks like they might be encrypted using a different salt or something since the encrypted password fields weren’t the same (and the password for the storage hasn’t changed).

I think the easiest way is to remove the storage and then create a new one with the same name. Copying and pasting within the duplicacy.json file should work though – you’re correct that the credentials are encrypted using a different salt every time but they should always be decryptable regardless of what the salt is.

1 Like

You’re 100% right. Copy/pasting the encrypted fields from the temp storage with the new credentials into the equivalent fields for the existing storage worked.

Thanks!