Closed justalever closed 4 years ago
@justalever Have you referenced the yaml setting in the right places?
config.active_storage.service = :backblaze_dev
should be present in 'config/environments/development.rb
'
And in storage.yml
backblaze_dev:
service: Backblaze
bucket_name: <bucket_name>
bucket_id: <bucket_id>
key_id: <key_id>
key_token: <key_token>
Likewise for other environments.
Let me know if you need further help.
You need to use the key_id (instead of account_id) and key_token (instead of the account_token). You can follow this here: https://www.backblaze.com/blog/b2-application-keys/
Be sure to have the permissions for the bucket for this application key id.
I'll give this a shot! Thanks for the response
Hey @gten, Thanks for creating this gem!
It seemingly worked until I get an authorization issue.
Here are my logs if it helps:
I have supplied the
keyId
andapplicationKey
forkey_id
andkey_token
parameters in mystorage.yml
as your readme described. Am I using the wrong keys here? It's rather confusing to know what to provide from Backblaze. Any help would be awesome!