-
Notifications
You must be signed in to change notification settings - Fork 60
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
SAS Token Support #101
Comments
Hello @mvoros - Thanks for reaching out We upgraded the SDK master version and now BLOB class ZCL_ADF_SERVICE_BLOB. Support SAS token/SAS Key/AAD and MI as well. Please let us know if you need further input. Regards, |
Hi, I pulled the latest version to test this change but there is a syntax error. The table ztvarvc does not exist in my system. I can see it's used couple of times but it does not seem to be defined in the repo. |
I recommend enabling rule https://rules.abaplint.org/check_syntax/, it will help check the consistency of the files on git, |
Hi, I pulled the latest version successfully. I had to adjust my code as API got changed. It seems to be working fine. But I have two comments:
|
|
Thanks @larshp @mvoros for highlighting Namespace. Since these are being used in our landscape as well which is already in production. we will think through about it in Point #8 For Point 2@mvoros SAS Token can be stored same way in table ZADF_CONFIG as you are doing for SAS Key. |
I have it working, that was not the problem. I just find it not so nice to misuse header parameter to inject SAS. IMO it would be better to extend the config table with a switch (key or token) and then caller does not have to do anything specific. Internally API uses key to sign request or just appends SAS token. |
Thanks @mvoros for feedback, |
Hi,
this is a new feature request. I used SDK to integrate with the third party and they provided already generated SAS token instead of SAS key for a blob storage container. I had no control over this and hence I had to extend the method GET_SAS_TOKEN to ignore the current logic and simply return values of SAS key as we maintained SAS token in the field SAS key.
It would be great if this could be supported by SDK. E.g. extending config table with flag if SAS key contains the key or token and then adjusting method GET_SAS_TOKEN.
Thanks
The text was updated successfully, but these errors were encountered: