You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given the implementation of accessing Azure Storage using Access Token. Link
require"azure/storage/common"access_token= <yourinitialaccesstoken>
# Creating an instance of `Azure::Storage::Common::Core::TokenCredential`token_credential=Azure::Storage::Common::Core::TokenCredential.newaccess_tokentoken_signer=Azure::Storage::Common::Core::Auth::TokenSigner.newtoken_credentialblob_token_client=Azure::Storage::Blob::BlobService.new(storage_account_name: <your_account_name>,signer: token_signer)
Given the implementation of Active Storage for Ruby on Rails. It uses azure-storage-blob gem under the hood. link
Is this approach correct? (I am yet to test this.). Also, is there any other approach on how to achieve this? I have posted the question on stackoverflow as well.
System configuration
Rails version: Rails 6.1.7.3
Ruby version: ruby 3.2.2
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not been commented on for at least three months.
The resources of the Rails team are limited, and so we are asking for your help.
If you can still reproduce this error on the 7-1-stable branch or on main, please reply with all of the information you have about it in order to keep the issue open.
Thank you for all your contributions.
Current setup
Given the implementation of accessing Azure Storage using Access Token. Link
Given the implementation of Active Storage for Ruby on Rails. It uses azure-storage-blob gem under the hood.
link
New Setup, config/storage.yml
Monkey patched to use the above information to use active storage using managed identity
Is this approach correct? (I am yet to test this.). Also, is there any other approach on how to achieve this? I have posted the question on stackoverflow as well.
System configuration
Rails version: Rails 6.1.7.3
Ruby version: ruby 3.2.2
The text was updated successfully, but these errors were encountered: