Sorry for requesting your support during the holidays.
I’m trying to help my previous company to recover their infra UP and Running. The history in short is:
The company was closed 90 days ago, during this period AWS account was locked, so I can’t access the AWS resources.
The vault was configured to use as storage an S3 bucket in his config file.
May I restore the vault services locally having access to the secrets stored there while they take care of AWS invoices? In that way, I can restart all services to put the company back in production.
Thks for any suggestions or guides on how to fix the issue, and happy time.
So the thing is: When try to re-run the vault service it fail, when try to run the command:
sudo /usr/local/bin/vault server -config=/etc/vault.d/vault_main.hcl
Error initializing storage of type s3: unable to access bucket
The the question is?? May I replace the storage “s3” section for something like “file” and successfully restart the service and have access to my secrets values?
I guess I will need to unseal first with the unseal token
This is one of the reasons why I use local autounseal (transit key with a local instance), so that I don’t have to be dependent on an external service like that, especially when it comes to something as sensitive as Vault.
Nonetheless using a remote storage (s3) with a local instance does seem like a weird setup. You wouldn’t normally do that, right? Or am I missing something here?