-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
implement support for SharedKey signature #186
Conversation
This is the recommended signature scheme for Azure, and the only scheme that is supported by the Azurite emulator. https://learn.microsoft.com/en-us/rest/api/storageservices/authorize-with-shared-key
Not sure how this feature should be introduced, but I think it would be nice to have it as an opt-in feature to begin with. There is a lot of parallel code in Happy to take feedback on the direction. |
I have validated that I am able to sign in to Azurite using this new signing method, which was not possible with SharedKeyLite. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Overall LGTM.
...s/azureblob/src/main/java/org/jclouds/azure/storage/filters/SharedKeyLiteAuthentication.java
Outdated
Show resolved
Hide resolved
...s/azureblob/src/main/java/org/jclouds/azure/storage/filters/SharedKeyLiteAuthentication.java
Show resolved
Hide resolved
...s/azureblob/src/main/java/org/jclouds/azure/storage/filters/SharedKeyLiteAuthentication.java
Outdated
Show resolved
Hide resolved
...s/azureblob/src/main/java/org/jclouds/azure/storage/filters/SharedKeyLiteAuthentication.java
Show resolved
Hide resolved
Co-authored-by: Ignasi Barrera <nacx@apache.org>
@nacx Do you agree with the approach of adding a new authType, or should we have a new property like |
I think adding the new authType is fine and easy to use/understand for users, so this approach LGTM. |
This is the recommended signature scheme for Azure, and the only scheme that is supported by the Azurite emulator.
https://learn.microsoft.com/en-us/rest/api/storageservices/authorize-with-shared-key