'JMeter: How to use the access keys to access a remote Cloud directory ( Azure Files ) in JMeter?

I have been trying to access the remote cloud directory ( microsoft azure) to list the files in the folder and to perform a few file/folder operations in the cloud directory. I had previously asked a similar question: JMeter: How to access a remote Cloud directory in JMeter?

However, I am looking to use the Access keys ( Connection string and Key) to access these files from JMeter. Is there a way to do so? Thank you in advance.

Azure Access Keys



Solution 1:[1]

As per View account access keys documentation entry you could use Get-AzStorageAccountKey cmdlet in Powershell to read your access keys.

In JMeter you can invoke Powershell commands using OS Process Sampler

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Dmitri T