Skip to content
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

支持在query中设置x-bce-security-token #25

Closed
ghost opened this issue Jul 5, 2019 · 0 comments · May be fixed by #26
Closed

支持在query中设置x-bce-security-token #25

ghost opened this issue Jul 5, 2019 · 0 comments · May be fixed by #26

Comments

@ghost
Copy link

ghost commented Jul 5, 2019

当用户使用STS凭证访问BOS服务的时候,需要设置x-bce-security-token,当前的sdk只支持在header中设置x-bce-security-token,但这样PresignedUrl产生的url不方便直接分发。
从HTTP原生接口上来看,是支持将x-bce-security-token放入query中的,但当前版本的sdk使用STS凭证访问时,会强制在header中增加x-bce-security-token,这样Authorization会包含x-bce-security-token,导致请求的header中必须包含x-bce-security-token才能验证通过。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant