Fix missing blob access key in credentials
This causes failures of backup_auth_missing: ErrorDescription="Cannot find authentication details (such as a password or secret key) for the specified Backup Container URL" This is found by manually running "fdbdecode".
This commit is contained in:
parent
2532ac5882
commit
902c10c299
|
@ -538,7 +538,7 @@ ACTOR Future<Void> updateSecret_impl(Reference<S3BlobStoreEndpoint> b) {
|
|||
JSONDoc accounts(doc.last().get_obj());
|
||||
if (accounts.has(credentialsFileKey, false) && accounts.last().type() == json_spirit::obj_type) {
|
||||
JSONDoc account(accounts.last());
|
||||
S3BlobStoreEndpoint::Credentials creds;
|
||||
S3BlobStoreEndpoint::Credentials creds = b->credentials.get();
|
||||
if (b->lookupKey) {
|
||||
std::string apiKey;
|
||||
if (account.tryGet("api_key", apiKey))
|
||||
|
|
Loading…
Reference in New Issue