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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: