Currently testing the backup and restore capabilities of version 20.2.4. When I run the following command example with an Access Key from the Azure Storage Account, I get the following error:
BACKUP DATABASE db_name TO "azure://backups/db_name?AZURE_ACCOUNT_KEY=access_key&AZURE_ACCOUNT_NAME=storage_account_name;
ERROR: azure credential: illegal base64 data at input byte 0
If I base64 the real Access Key, the above error doesn’t happen, but I then get the following error:
RESPONSE Status: 403 Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
I’ve confirmed that the Access Key is good by making calls with it using the Azure CLI.