-
Notifications
You must be signed in to change notification settings - Fork 187
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
Add Support for SAS keys in Azure Blob #738
Conversation
8b4c399
to
a92403f
Compare
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.
A few nits. And I think we need some safeguards to ensure SAS tokens would leak into errors.
94a5342
to
7182c56
Compare
7182c56
to
0670db7
Compare
b2f0826
to
c3eabe2
Compare
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.
Small nit, otherwise LGTM.
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.
LGTM
thanks for getting this implemented @somtochiama! 🙇♂️
@somtochiama do you mind rebasing please? |
docs/spec/v1beta2/buckets.md
Outdated
The query values from the `sasKey` data field in the Secrets gets merged with the `spec.endpoint` of the `Bucket`. | ||
If the same key is present in the both of them, the token takes precedence. |
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.
I feel this could use more explanation. In combination with looking at the doc page of the added ref, I had at least the following questions:
-
Does the
sasKey
only contain the "SAS token"? -
If so, is it expected to be prefixed with
?
as suggested in the documentation? -
What does
If the same key is present in the both of them, the token takes precedence.
entail precisely?
dfc4ac6
to
044b8c3
Compare
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
044b8c3
to
3526863
Compare
@somtochiama thank you for addressing @hiddeco 's point. Can you rebase please? |
This pull request adds support for SAS Keys in Azure Blob.
The SAS token is specified in the secret under
sasKey
field.Fixes: #719
Signed-off-by: Somtochi Onyekwere somtochionyekwere@gmail.com