Hi,
I created a tardigrade bucket from Linux (using the Uplink CLI).
During the Uplink CLI setup, I’ve been asked to input my API key and a secret passphrase.
My questions are:
How can I retrieve my data if Iose my API Key?
How can I retrieve my data if I love my encryption passphrase?
I can understand that it’s not possible to retrieve them if I lose my whole access to tardigrade account. But, in my opinion, we should be able to retrieve the data by creating a new API key (on tardigrade console).
At this moment, if I create a new API key, I won’t be able to list buckets created with another APi key.
Login to the satelliteUI and create a new API Key. You would still be able to download all files.
Without the encryption key you can still download and delete old files but you will not be able to decrypt it. Better don’t lose the encrpytion key. Good old paper backup will help.
As long as you still have access to your email account you can reset the login password.
Regarding the secret passphrase, indeed my question was stupid…
Regarding the API key itself, if I well understand what you are saying, it should be possible to retrieve data with a different API key (on the same server or on another).
But I tried to list my buckets on another server (i.e. another Uplink CLI setup on another server) with a different API key and I can’t see them… I am sure there are still there since I tried with the previous API key and then I was able to see them.
Is that a normal behaviour or a bug?
Or is it because I used a passphrase on the first one (and didn’t specify it on the second Uplink setup)?
That is a user error. I am playing that game once per week because I am too lazy to write down the API key. Every time I reset my VM I start over with a new setup.
I tried it but it doesn’t work. I must do something something wrong.
Here is what I did with the uplink client on debian:
Setup a new uplink: API_key_1 and passphrase_1
Created a new bucket bucket_1
Created a new ojbject in that bucket: object_1
Setup the uplink again with: API_key_2 and passphrase_1 (same passphrase as before)
Tried to list the buckets: OK
Tried to list the content of the bucket_1 => error Error: uplink: kvmetainfo: encryption error: decryption failed, check encryption key: cipher: message authentication failed
Tried to delete the backup_1 => error since the bucket is not empty (but I can’t empty it!) Error: bucket not empty: nextcloud
Do you have any idea on what I’m doing wrong to fix/avoid those 2 errors?
Ok, I found it.
When you setup a new access for the uplink, it doesn’t erase the previous one. You have to select it in each uplink command with the flag --access <access_name>. I didn’t know that.
Otherwise, you can change the default access in the config.yaml file. => By the way, is there any way to change it with the uplink command? It seems more user-friendly to me.
After all those tests, I have created a bucket with 1 file in it but I forgot the encryption passphrase.
How can I delete the bucket without knowing it? @littleskunk you said it was possible
Do you know how I can delete a bucket if I don’t remember the passphrase?
I tried with uplink and with s3 but same error: the bucket is not empty and can’t be deleted. But since I can’t list files in the bucket, I can’t delete files in it…
Any advice?